Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing the form from the init event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00566488
Message ID:
00566499
Views:
13
>Is it possible to release the form from the init or load events. I have a form that runs a couple of methods from the init event and conditionally I need to release the form. But now matter what I do I can't release the form from any method called from the init event. Is there a way around this?

Marvin,
Louis gave you the answer. In addition to that, returning .F. from either does not fire the Destroy method of the form. Just in case you have some cleanup code there, you may have to make a manual call to it before the Return .F. line.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform