General information
Category:
Coding, syntax & commands
Title:
Keyboard '{SHIFT+TAB}' doesn't
In one particular form, I need to capture the PageUp and PageDown keystrokes and change them to Tab and Shift+Tab. I have put the code:
LPARAMETERS nKeyCode, nShiftAltCtrl
DO case
case nKeyCode = 18 && PageUp key remapped to Shift+Tab
Keyboard "{SHIFT + TAB}"
case nKeyCode = 3 && PageDown key remapped to Tab
Keyboard "{TAB}"
otherwise
DoDefault(nKeyCode, nShiftAltCtrl)
EndCase
in the KeyPress method of the form. The Keyboard "{TAB}" works but the Keyboard "{SHIFT + TAB}" does not. Anyone know why? (I am using VFP7).
Thanks,
Stan
Next
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