Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter Key on a CheckBox in a Grid
Message
De
30/10/2002 13:38:28
 
 
À
30/10/2002 13:11:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00716997
Message ID:
00717011
Vues:
46
Put this in KeyPress event of the checkbox:
IF nKeyCode = 13
  This.Value = !This.Value
ENDIF
>I have a grid with a checkbox in one of the columns.
>The end-users uses the 'Enter' key to move from
>column to column, upon reaching the Checkbox column
>when they press 'Enter', it flips the state of the
>checkbox, then calls all of the events and then
>moves to the next column. Is there a way to turn off
>the default of the checkbox?
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform