Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnClose not firing
Message
 
To
02/01/2004 12:21:28
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00863478
Message ID:
00863483
Views:
9
>How are you closing your forms? Me.Close() should fire the correct events. Perhaps you should post some code. <

My problem is not on closing the form. My problem is *detecting* when the form is being closed.

If I do me.close() or click on the "X" the OnClose method is called and I can detect that the form is being closed. So far so good.

However, if what I close is the main form of the application and the application starts closing its (child/sub) forms then the OnClose method of the (child/sub) forms is not being fired.

What I am looking for is a method that .NET always call before closing a form (or during the close process.)
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform