>I've seen this problem (and been the victim) more times than I care. Maybe you could add some debugging flag that would prevent CBaseForm.Destroy() from setting the Visible property to FALSE? Or maybe a new property called FastClose and default it to TRUE?>
How about only setting Visible = .F. when the application is NOT running in debug mode?
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