Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroying Forms?
Message
From
04/05/2001 17:41:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Destroying Forms?
Miscellaneous
Thread ID:
00503820
Message ID:
00503820
Views:
60
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
Map
View

Click here to load this message in the networking platform