General information
Category:
Forms & Form designer
Hello,
Is there a way to destroy a form in the Init event method of the form? If not, how can I destroy a form before it shows up on the user's screen and continue on with the rest of my program?
PROBLEM SPECIFICS
---------------------
The form I am trying to destroy is a setup form. I validate setup information there and if need be run through the setup process again. If I don't need anything then I just try to kill the form and proceed with the other forms in the program.
The setup validation occurs in the Init event method. Right now it does a CLEAR EVENTS, THISFORM.Release() and RETURN .F. but the program still resides in memory and never gets past the READ EVENTS line called right after my DO FORM setup line.
Any help is appreciated.
Thanks,
Matthew
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