Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>hi! I would like to ask an assistance on closing child forms whose MDI Child property is set to .T. from a top-level form. CLOSE ALL won't work. I often got the 'Cannot Quit Visual Foxpro!' error message.
>
>Thanks. More power!
To begin with the last thing.
You can catch the Cannot Close thing by saying on ShutDown do OnShutDown
where OnShutDown is your shutdown routine with something like clear events to stop the event processing.
For closing the forms, you can loop trough the forms collection to close them.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement