Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skip the AskToSave method
Message
De
22/10/1998 17:33:54
 
 
À
22/10/1998 17:29:23
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00149577
Message ID:
00149594
Vues:
25
>>*-- Force contents of active control to be flushed to the buffer
>>IF this.WriteBuffer()
>> IF this.IsNewAndEmpty()
>> this.oBizObj.Cancel()
>> ELSE
>> IF this.IsChanged()
>> lnReply = this.AskToSave()

Seems to me thought, that there should be a property on the form... lAskToSave and the above code would be...

lnReply = this.AskToSave(this.lAskToSave)

This way the user could suppress the message. Actually, though, it seems there should be ANOTHER property...

lAutoSaveWithNoAsk

So, not only do we need to know if you want to ask the user... if you
DON'T want to ask the user, I want to know what the developor want to do by default, save or cancel...

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform