Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent check box selection
Message
From
05/10/2005 08:59:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/10/2005 08:55:36
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056218
Message ID:
01056222
Views:
31
>i want to stop check box selection by presing enter button.
>
>when i press enter key on my checkbox it is selected/deselected but i want to select/deselect my check box by presing spacebar only.
>
>warm regards,
>mk.

You could play with the KeyPress event. If the key is ENTER, either do nothing, or go to the next field by giving the command keyboard "{TAB}".
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform