Information générale
Catégorie:
The Mere Mortals Framework
>>*-- 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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement