General information
Category:
Coding, syntax & commands
>>Hello All,
>>I have an application that runs with modeless screens thus allowing the user to select the menu at anytime. If the user selects the escape key, or the cancel command button, I check for changes
>>and ask the user if they want to save these changes through a method using the getfldstate(-1) function. The question is, how do I know when the user has selected the menu and wants to go somewhere alse? How can I trap this so I can then call my method??
>>
>>Thanks
>>
>>Sandy
>
>This functionality can be kept simpler. I used to have 'Save' button disable when user starts 'Edit' or 'Add New'. Each control participating in edit form reset cmdSave.Enabled to .T. from InteractiveChange event, therefore it's enough to check cmdSave.Enabled value to evaluate current situation.
That's true and I have done appications with save and edit buttons in the past but you can almost say that that is now Windows95 standard which is a subject I think we all need to address.
Anyway, I've solved the issued with calling the method from the QueryUnloadEvent.
Previous
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