Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want my cake, why doesn't this work
Message
From
09/01/2001 01:08:05
 
 
To
09/01/2001 00:03:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00460963
Message ID:
00461020
Views:
15
>>Just use the _vfp.Quit method
>
>But thats not as complicated as I want it to be (aka: doh!).

OK, you want more complicated? Try this:
on shutdown iif(messagebox('Wanna Quit?', 4) = 6, ;
  _vfp.DoCmd("_vfp.Quit"), '')
or this:
on shutdown iif(messagebox('Wanna Quit?', 4) = 6, ;
  _vfp.DoCmd("_vfp.DoCmd('_vfp.Quit')"), '')
ROFL!
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform