Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simulate user clicking close button
Message
 
 
To
13/08/1998 17:48:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00126724
Message ID:
00126730
Views:
27
You can explicitly call the QueryUnload():
if ( this.QueryUnload() )
   this.Release()
endif
>>How would you go about simulating the user clicking on the close button or double-clicking on the control box of a form. The thing I need is for the queryunload event to fire. The VFP docs state that using the Release method won't fire this event. I tried the MOUSE command and the KEYBOARD command to no avail. Any help is greatly appreciated.
>
>Doh!
>I just moved the code out of the queryunload to the destroy.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform