Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing MDI Child Forms
Message
 
To
02/12/2000 12:03:05
Dex Nobleza
Univ. of Nueva Caceres
Naga, Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00448503
Message ID:
00448523
Views:
9
>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
Map
View

Click here to load this message in the networking platform