Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leaving a grid without a mouse
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01333436
Message ID:
01333443
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Try following code in the Form KeyPress
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode = 9
	IF Thisform.ActiveControl.Baseclass = "Grid"
		KEYBOARD "{CTRL+TAB}" PLAIN CLEAR 
		NODEFAULT
	ENDIF	
ENDIF
>Is there a way to enable a one-key command in my code? These are wrist-worn mobiles, and I'd rather have our warehouse people use the keypad as little as possible.
>
>I tried setting "ON ESCAPE" to set focus to another object, but it apparently ignores the command.
>
>>CREL+TAB will move of the grid to the next control.
>>
>>>I'm creating forms that will be used on a mobile unit that lacks a mouse, running via Remote Server.
>>>
>>>I have one form that is using a grid, and I'd like to use the Tab key to move between it and other objects, but the Tab only seems to move from column to column.
>>>
>>>I may need to move up and down on the grid with arrow keys, but moving laterally column to column is not necessary. There must be a way to force the tab to move to the next object, but I have been unable to find it yet. Can anyone help?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform