Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   User Actions (https://www.kinook.com/Forum/showthread.php?t=156)

sigh71 07-20-2003 10:47 PM

User Actions
 
I'm trying to add a fairly simple user action to my project, that causes the project to fail with a given message.

here it is

DefaultProperty="Msg">

Description="Test action implemented as script"
Bitmap="User Action1.bmp">


Type="Edit"
Description="Error Message"
DefaultValue=""
Height="36"
Required="1">









the action registers, and i can add it to my project and it works exactly how i want it to....
but when i save and then reopen my project i get
"Error parsing document "C:\a.bld" is not well formed (invalid token)

and i cannot open the project file at all.
What's going on?

kinook 07-22-2003 08:50 AM

The field names that you use cannot contain spaces, since they are used as elements in the .bld (XML) file. Change 'Error Msg' to 'ErrorMsg' in your .action and .bld file and it will work.


All times are GMT -5. The time now is 04:00 AM.


Copyright © 1999-2023 Kinook Software, Inc.