Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get rid of the SaveOnChanges window?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01171340
Message ID:
01171654
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform