General information
Category:
Forms & Form designer
>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.
Previous
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