General information
Category:
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only