Information générale
Catégorie:
Codage, syntaxe et commandes
>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
"{BACKTAB}" should work.
HTH,
Mark A.
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