Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping the X to close a form
Message
From
11/10/2001 16:36:58
 
 
To
11/10/2001 16:33:28
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567223
Message ID:
00567227
Views:
12
>On forms, you have the Min, Max, and the X (or exit) buttons on the top right. Is there a way to trap and control what happens if a user clicks the X?

form_Queryunload event should run prior to form close. You have the option to cancel the unload.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform