Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard /Cursor Control
Message
De
13/02/2007 10:25:36
 
 
À
13/02/2007 10:21:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01195131
Message ID:
01195135
Vues:
13
>Hi all
>
>I can use a little help.
>
>I am trying to control the cursor on a form using keyboard strokes.
>
>Example;
> A form has several rows of data input fields. Using the Up & Down Arrow keys
> I want to set the focus to the first field in each row.
>
>I believe I must use the KeyPress Event but I do not know what the code like.
>
>No examples in the help.
>
>Terry
***KeyPress event
LPARAMETERS nKeyCode, nShiftAltCtrl
If nKeyCode=5  && it is UP ARROW, see all codes in Help under INKEY
  ... your code here ...
  NODEFAULT
Endif
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform