Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not close as it should
Message
 
To
14/06/1999 12:20:23
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00229414
Message ID:
00229810
Views:
17
>Still, I prefer to see programs with one way of doing things like exiting, rather than multiple ways like an exit button or the "X". The proprerties are there, so why not use them to make life easy.

It occurred to me a little later that instead of being critical, I can offer a very easy solution to your & Koos' form exit problems. To re-direct the 'X' (and other titlebar) exiting, all you need to do is put this code in the form's Queryunload:

Nodefault && stops automatic form release
This.cmdexit.click

This will allow you to enable your titlebar closing, and give you complete control over the exit code. Unless it's the main vfp screen, of course, where you'll need a SHUTDOWN call...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform