Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release form from toolbar & Query Unload
Message
 
To
13/09/1998 21:34:52
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00135996
Message ID:
00135997
Views:
10
>When release a form from the close box of the form, my QueryUnload event fires but not when I issue the command _Screen.ActiveForm.Release() from the toolbar. Is there a special way to close a form from the toolbar and fire the QueryUnload event?
>
>Thank you very much
>Christian

CVristian,

In the form's Release method do this;

IF NOT THISFORM.QueryUnload()
NODEFAULT
ENDIF

That will call the queryunload and stop the release if the queryunload returns .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform