Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
>>i want to add code in a form through the form.scx table.
>>in this table there is a column named method.
>>i tried to put directly code in it but when opening form in the form designer the added code doen't appear.
>>
>>i want to know to add code by this way ?
>
>Why do you want to do that? Adding code to a method is a design time activity. I hope you're not trying to do that at runtime. A builder can do it in the IDE.
You can do this for stock method names directly without any other changes. For custom methods, you must also add the method name in the RESERVED3 field prefixed with an asterick (*). This must be added to the field with a CRLF. Be careful because you can delete all custom methods and properties if this is not edited correctly.
After adding the code, you must then issue a COMPILE FORM (formname) command to have the code changes recognized. The code must be placed into the appropriate record for the object that it applies to. You can only add custom methods to the form object record.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only