Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Close Button
Message
 
To
12/09/2000 14:24:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00415363
Message ID:
00415503
Views:
18
>In the QueryUnload event of a form I have the following code and the form it's being released if I select Yes or No.
>
>IF MESSAGEBOX('Release?',4) = 7
> RETURN .F.
>ELSE
> THISFORM.Release()
>ENDIF

Morys,

If you wish to keep the form from releasing you need a NODEFAULT or it'll release anyway. Further, the call to release isn't necessary unless you have some code that needs to go there.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform