Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Goto next row in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00178880
Message ID:
00178966
Vues:
33
>>>I need to automatically go to the next row down in a grid after entering data in the last column. ANy suggestions?
>>>
>>>Shane
>>
>>Simple. Just put some code in the KeyPress() event of the last column object (usually a textbox) like this:
>>
>>IF nKeyCode = 13 OR nKeyCode = 9 && Enter or Tab pressed
>>   KEYBOARD '{DNARROW}'
>>ENDIF
>></PREV>
>
><PRE>If you want to go to the first column of the next row, you could add {RIGHTARROW} to that.
>
>HTH,

You don't need to put {RIGHTARROW} to go to the first column. It does it automatically. Try it.
It's "my" world. You're just living in it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform