Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skip the AskToSave method
Message
From
22/10/1998 17:33:54
 
 
To
22/10/1998 17:29:23
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00149577
Message ID:
00149594
Views:
24
>>*-- 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
Map
View

Click here to load this message in the networking platform