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:
00307080
Views:
20
>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 Valid event of the checkbox put this code;
IF LASTKEY() = 13 && Enter
   This.Value = NOT This.Value
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform