Thank you very much. It is working fine.
>You do all your treatment inside the program called by the ON SHUTDOWN. If it's OK to close the application, issue a QUIT in your program. Otherwise, just return from the program and the application won't shut down.
>
>HTH
>
>>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??
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