Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid behavior
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00470929
Message ID:
01250009
Vues:
30
>Hi!
>
>Nadya, I just tested code below (VFP6 SP4), it works with default edit box ;))
>
>Another workaround is to try to use keyboard command. See code below. I used thisform.lockscreen = .t. in the keypress event and than thisform.lockscreen = .F. in the GotFocus event of edit box, this will make it smoother.
>
>
>* grid.column2.edit1.KeyPress
>LPARAMETERS nKeyCode, nShiftAltCtrl
>do case
>	case nKeyCode = 24 && DnArrow
>		thisform.LockScreen = .T.
>		KEYBOARD "{SHIFT+TAB}{DnArrow}{TAB}"
>		nodefault
>	case nKeyCode = 5 && UpArrow
>		thisform.LockScreen = .T.
>		KEYBOARD "{SHIFT+TAB}{UpArrow}{TAB}"
>		nodefault
>	case nKeyCode = 3 && PgDown
>		thisform.LockScreen = .T.
>		KEYBOARD "{SHIFT+TAB}{PgDn}{TAB}"
>		nodefault
>	case nKeyCode = 18 && Pgup
>		thisform.LockScreen = .T.
>		KEYBOARD "{SHIFT+TAB}{PgUp}{TAB}"
>		nodefault
>endcase
>
>
>HTH.
>

Yes, I was thinking along these lines too. Thanks a lot, though unfortunately you would not see this message.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform