Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One form application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00299291
Message ID:
00299725
Vues:
40
>>Create a CONFIG.FPW with the line SCREEN = OFF in it.
>>Modify your form to be a top-level form.
>>Create a minimal .PRG that will serve as the main program for the project; it should read something like:
>>
>>
ON SHUTDOWN DO ShutDownProc
>>DO FORM <i>MyTopLevelForm</i>
>>READ EVENTS
>>QUIT
>>
>>PROCEDURE ShutDownProc
>>ON SHUTDOWN QUIT
>>CLEAR EVENTS
>>CLOSE ALL
>>CLEAR ALL
>>QUIT
>
>Ed, if you don't mind my asking, why would you use SHUTDOWN with a top-level? How are you going to to fire it?

Force of habit, Bruce - someone might pop off the Windows Shutdown dialog, or try to terminate the application using Task Manager, both of which result in Windows Mesages that would try to get the app to kill itself. I'm sure all your end-users are careful to exit all apps before installing something that requests a reboot...< BEG >
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform