Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't close a form
Message
 
To
04/10/2007 09:15:38
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01258512
Message ID:
01258801
Views:
9
Jeff,

>I have a form that attempts to terminate itself with Close(). It won't close. In tracing the code, I found that when mmBaseForm_Closing() is called, it is called with the CancelEventArgs set to True. It appears I'm doing something that made MM decide that I shouldn't really be allowed to close the form. I have no problems closing other forms.

If you open up MM .NET Windows Forms project and do a search for "Cancel =" you will see a few places where MM .NET cancels the form closing. Usually it's if CancelFormClose is set to true.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform