Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get rid of the SaveOnChanges window?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01171340
Message ID:
01171654
Views:
10
Jess,

>I want to make use of the mmBusinessForm.Save or mmBusinessForm.Cancel method but without triggering the SaveOnChanges window because it will be counter productive on the part of the user. I've exert all efforts but I can't get it done. The window keeps on poping-up every time I called mmBusinessForm.Save, mmBusinessForm.Cancel, mmBusinessForm.Close methods.
>
>My first guess is that their must be a property setting but I can't see it. TIA.

Did you try overriding the AskSaveChanges(mmBaseBusinessObject bizObj) method of the form? You can return the DialogResult value that suits your needs and that should take care of the dialog for you.

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