General information
Category:
Forms & Form designer
ThisForm.Release does not work from within an Init event. What I did when I wanted this to be the case was to set a variable that flagged whether the form should be released. Then in the Activate event you can put the ThisForm.Release within the If statement if the form should be released.
Example:
Init event:
m.closeform = .t.
Activate Event:
IF m.closeform
Release ThisForm
ENDIF
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