Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pressing X causes some code to run
Message
From
01/07/2008 09:45:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01327850
Message ID:
01327853
Views:
14
This message has been marked as the solution to the initial question of the thread.
>Is it possible to make some code run if the user clicks the cross on my form.
>
>I want the form to minimize not close.
>
>I want to run the destroy event only to run when I release the from.

You can have nodefault in queryunload or set closable to .f.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform