Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkboxes in Forms
Message
From
30/12/1999 17:57:55
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
 
To
30/12/1999 15:34:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00310654
Message ID:
00310722
Views:
14
Rob,

Try this in the Keypress event of the checkbox...
IF nKeyCode = 13
   KEYBOARD TAB
   NODEFAULT
ENDIF
This prevents the Carriage return from going to the keyboard buffer and puts a TAB in there instead.

David.


>VFP6.0 I have placed a checkbox within a grid. I want the checkbox only to be selected/deselected on a mouse click or space bar, not a carriage return. Right now whenever you press enter to pass the column, it changes the status of the checkbox, is there any way to prevent it.
>
>Any ideas...
>
>TIA
>
>Rob
David.
Previous
Reply
Map
View

Click here to load this message in the networking platform