Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skip the AskToSave method
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00149577
Message ID:
00149670
Views:
19
>Bob,
>
>Thanks, this worked perfectly. I agree, I think a form property would be very useful and allow for some flexibilty. As for the adding a second property, I don't quite follow. If you set lSkipAskToSave to .F. it prompts, .T. it dosn't. What else is there?
>

Well... If I prompt the user... Do You Want To Save? The user answers yes or no.

Now, if I don't prompt the user... I still need to know the answer... Yes or No...

It could go either way... it just depends on how you want it to work... your documentation could either say...

If you make changes to data and close the window or move to another record, your changes will be saved with out verify that with you.

or...

If you make changes to data and close the window or move to another record without saving, your changes will be canceled. You must press the save button in order for the data to be saved.

See the difference?

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform