Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid cell focus
Message
 
À
03/11/1999 10:10:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00285933
Message ID:
00286142
Vues:
20
>>>I can't believe that I can't figure this out, but how can I change the active cell within a grid based on a user keystroke.
>>>
>>>Specifically, I am using a grid for entering a lot of data. The user will press tab to move across a row, but when they press enter, I want to move down one row and back to the leftmost column.
>>>
>>>On key label just doesn;t seem to have access to activerow and activatecell.
>>>
>>>Thanks
>>
>>Use the KeyPress event of the TextBox or whatever controls you have in your grid.
>
>
Doug,
>Real problem here is not keypress. OTOH using keypress of controls in a grid is coding too much if it would do the same thing. When you need it set form.keypreview to .t. and code in form.keypress.
>Cetin

Good point.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform