Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pressing Enter to advance to next field in check box
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056604
Message ID:
00056650
Views:
28
>>>I want the user to be able to press enter in
>>>navigating the fields on the form. When the
>>>field is a checkbox it toglles the data on and off.
>>>
>>>any suggestions on how to just go to the next field
>>>here?
>>>
>>>Gary
>>Gary,
>>
>>In the CheckBox Valid event;
>>
>> IF LASTKEY()=13
>> THIS.Value = NOT THIS.Value
>> ENDIF
>>
>>In the checkbox When;
>>
>> KEYBOARD "{CTRL+A}" && forces lastkey to be unequal to 13
>
>
>Thanks Jim I'll try it.
>
>Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform