Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shift+S to Save
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00417070
Message ID:
00417082
Views:
16
This message has been marked as the solution to the initial question of the thread.
>Friday greetings :)
>
>With the help of several of you, I figured out the problem with Ctrl+S to call my save routine.
>
>I've changed all the shortcuts to Shift+key to allow more choices (since many like C, X, V are used with Ctrl as Windows standards in editing).
>
>My code is
DO CASE
>		**Save
>	CASE nKeyCode=83 and nShiftAltCtrl=1
>		THISFORM.qcmdsave1.CLICK
>
>		**Next
>	CASE nKeyCode=78 and nShiftAltCtrl=1
>		THISFORM.qcmdnext1.CLICK
>ENDCASE
>
>This works wonderfully except in the case when the cursor is in a text field - then it put the letter at the cursor location (for example, if I press Shift+S, an "S" appears in the text box). If I press the combination again, it works properly, but once I stop, the tableupdate kicks in and thinks I've changed the record.
>
>Once again I humbly seek suggestions *g*


Try to add NODEFAULT.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform