Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid behavior
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00470929
Message ID:
01250009
Views:
33
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform