Yes but how can you prevent it from closing. I.E ask if the user want to save data and if he wants, not shut down the main window??
Thanks
Aldrick
>You can trap the closing of the main window with ON SHUTDOWN.
>
>HTH
>
>>How can I trap the closing of the main foxpro window? I want to trap it to remember the user to save data. It is possible to catch the closing for normal forms (in the main window) but I do not know how to do it with the main window. Can anybody help me with this??
Précédent
Suivant
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