Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00691654
Message ID:
00691660
Vues:
12
In the form, set the Keypreview property to .T.
In the keypress method of the form put something like this:

IF nKeyCode = 13 AND ThisForm.Wsgrid1.Activerow <> 0
ThisForm.Btn_Ok.CLICK
ENDIF


>Is there a way to do the following -
>
>On a grid control, after the user clicks on the row (selects a row/column cell) and hits enter key ; I need to run the click event of the commond button on the same form.
>
>Thanks.
>Neetu
Eric.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform