Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pressing Esc key to finish dataentry
Message
From
31/07/1997 13:15:55
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00042403
Message ID:
00042643
Views:
32
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
Map
View

Click here to load this message in the networking platform