Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do people still use ON SHUTDOWN
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159427
Message ID:
00159515
Vues:
21
In my toplevelform (osdi) queryunload method:

if this.releasetype = 1 && close box
if oapp.ineditmode or oapp.inaddmode
messagebox("Can not Exit RealTrac 5.0 while in Edit or Add mode", ,64,oApp.cAppName)
nodefault
else
hold_return = oapp.exitapp() && clean up routine
if !hold_return
nodefault
endif
endif
endif

this seems to be working for my close button on the titlebar.


>You need an ON SHUTDOWN handler to know when the user has clicked the Close button on the app titlebar.

>>Programming in VFP 5.0. Have not noticed a need for ON SHUTDOWN, but just ran across it in the help. I control the exiting from my app, I think. What does ON SHUTDOWN do for you?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform