Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox - don't want ENTER to change value
Message
 
To
21/12/1999 20:37:09
Bill Totten
William Totten & Associates, Inc.
Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00307053
Message ID:
00307081
Views:
23
>I would like to override (disable) the default behaviour on a CHECKBOX when the user presses ENTER and if toggles the VALUE. Ideas please ....
>
>TIA,
>Bill

In the Checkbox's KeyPress event, put the following:

dodefault()
if nKeyCode = 13
nodefault
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform