Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter key with Radio Buttons
Message
De
01/09/1998 15:23:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00131998
Message ID:
00132014
Vues:
18
>>>Does anyone know of a way to make the enter key not go down and turn on each button in an option group? I would prefer that it moves to the next control in tab order!
>>
>>You can intercept ENTER key in Option.KeyPress event and SetFocus to another control from there (it may require adding NODEFAULT).
>
>What is the command if any to go to the next control in tab order?

The simplest solution assumes that you know what control you want to move focus on, and you just issue Thisform.ControlName.SetFocus. Also, you can make it more sophisticated, but barely more usable, by checking Form.Controls().TabIndex properties.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform