General information
Category:
Coding, syntax & commands
what about using the forms Keypress event (and setting Keypreview to .t.)
or on the form's queryunload event (if ESC also closes the form)
check if the data was saved and if not pop a messagebox with the "save now"
question
Arnon
>
>I want to setup a dataentry form to prompt for "Save now?" when user
>presses the Esc key rather than clicking on the Save button on the toolbar
>I also have. I know it is not the "Windows" way but users are asking for
>this feature because it was the way it was done in DOS app. I tried to use
>ON KEY LABEL ESC command to call the click method of the toolbar w/o
>success (I guess it can't be done!?). Any suggestions?
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