How about calling the
Save command button shortcut with
ON KEY LABEL CTRL+S Keyboard '{ALT+S}'
assuming, of course, that you have a
Save command button with a ALT+S shortcut.
I've set this up for one client for CTRL+N for New, CTRL+E for edit etc, etc, etc and it works fine.
HTH
Liam
>Hi all,
>
>I've been messing around with this Ctrl+S thing for a couple days since my last posting (thanks to Dragan, Ko and Sergey for their earlier input) but I am still stuck in a rut and the users
REALLY want these shortcuts, so I'm going to ask for help one more time.
>
>I (now) know that I can't use many Ctrl+letter combinations since the VFP sysmenu intercepts them (and I am using the Window pad from sysmenu in the application menu) it would appear that the Ctrl+letter idea is out. I tried:
>
>
on key label ctrl+s _screen.activeform.keypress(19,2)
>
>in the form init, and it works - but not consistently.
>
>So question number 1 is - any other ideas on how to get the Ctrl+letter combinations back from sysmenu?
>
>The second question is (and assuming I fail in the first one), how can I trap for Ctrl+Shift+S in the keypress? In Help, it says that the nShiftAltCtrl=3 (combining the control and shift bit values) but what value do I use as the nKeyCode for the S?
>
>Here's hoping for a solution. Thanks in advance.
Liam O'Hagan
MCP VFP Desktop Apps