Information générale
Catégorie:
Codage, syntaxe et commandes
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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement