General information
Category:
Coding, syntax & commands
Title:
Where to put code ?
I have a form, where there are certain controls I want to hide.
My first attempt was to put the code in the Init event of the control e.g. If MyCondition
Return .f.
Endif
This worked fine until I was using a form which , in the Init of the Form, did some processing on a file, and the results determined whether the control on the form was hidden or not.
But the Init of the Form seems to be run AFTER the init of each object, so I cannot use this method.
I would appreciate any other suggestions.
regards,
Gerard
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