Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pressing Enter to advance to next field in check box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00056604
Message ID:
00056650
Vues:
33
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform