Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00530873
Message ID:
00530900
Views:
16
>Hi!
>
>return .F. from Init event should prevent form from loading.
>nodefault in the Load event should prevent from loading too.

pmfji, but nodefault does not work for me (VFP6 SP5)
Return .F. does the trick in the load event, just like it does in the init event. This is from the VFP6 help:
To prevent a form from being created, return false (.F.) from the Load event; the Destroy event will not be executed.
Regards,
Frank Camp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform