Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RELEASE WINDOW or REALEASE THISFORM
Message
From
22/04/1998 03:21:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093877
Message ID:
00093917
Views:
25
Thisform.Release doesn't call QueryUnload. I think QueryUnload only gets called if you hit the X in the right hand corner of the form. Just have QueryUnload and the Exit button both call your Thisform.CloseEvent. Then have your Thisform.CloseEvent include the code Thisform.Release. I think that will do the trick.

-Adam

>On our application, we create a closeevent custom property to be called whenever we want to close a form. It seems that if using RELEASE THISFORM it does not call QUERYUNLOAD event automatically, and so, we used RELEASE WINDOW or CLEAR WINDOW instead. Are we using the right approach? As I know, RELEASE WINDOW and CLEAR WINDOW are FP native commands.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform