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??
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only