Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-Level Form problem
Message
From
12/02/2004 22:47:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Top-Level Form problem
Miscellaneous
Thread ID:
00876959
Message ID:
00876959
Views:
89
Hi all,

I have a Top-Level Form - oApp - hosting my MDI forms. The MDI forms are stored in a Collection object of the oApp. The MDI forms' Destroy event calls a function - AppExit() - that references oApp. In the Destroy event of oApp, I loop through the Collection object containing the forms to release them. If I click on the X button with MDI forms open, the app ends without errors.

My problem is when I close the app from a menu option: oApp.Release(), I get an error oApp is not an object in the AppExit() function called by the MDI forms.
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform