Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter Key on a CheckBox in a Grid
Message
From
30/10/2002 13:38:28
 
 
To
30/10/2002 13:11:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00716997
Message ID:
00717011
Views:
44
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform