Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Abort
Message
From
02/12/2000 02:07:45
 
 
To
01/12/2000 20:25:57
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00448407
Message ID:
00448443
Views:
11
Hi John.

Replace ON SHUTDOWN with QUIT.

Dave


>Like everyone else I start applications with a .PRG which sets the environment, displays a splash screen, loads a menu system, etc. I check to see if the user is a valid user. if not I display a message and then I would like to exit the application. To exit I have a function called "Depart". When I do Depart the application does not close. What can I add to make the app close?
>
>*-------------------------------------------------------------------------------
>function Depart
>
>clear events
>deactivate window all
>pop key all
>on shutdown
>
>if _VFP.StartMode = 0 && Development Mode
> set sysmenu to default
> set library to
> modify window screen
> =sys(3056) && Reread Registry and config.vfp settings
>endif
>
>return .F.
>*-------------------------------------------------------------------------------
Previous
Reply
Map
View

Click here to load this message in the networking platform