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