Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Radio Boxes - Hot key behavior
Message
De
12/06/1997 15:15:55
 
 
À
12/06/1997 15:07:28
Karl Scheff
California Department of Education
Sacramento, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00036138
Message ID:
00036140
Vues:
46
>I am designing a form that will have multiple yes/no radio boxes on it to duplicate the look and feel of the data entry form. I would like to have each radio box have a prompt of Yes (with the Y underlined) and No (with the N underlined) and allow the user to press "Y" or "N" to indicate their choice. Whenever I put two or more radio box with the prompt of \>
>Is this a bug? or am I not understanding the hot key function of the radio box correctly.
>
>I have tried this in both VFP 3.b and FPW 2.6 and it seems to be consistent.

The problem is that several objects have the same hot key (Y or N) and this is obviously not OK. If you still want to have this on your form, you could use OptionButton.KeyPress event to check for key pressed and reset Value property for corresponding OptionGroup (here you even don't need in 'hotkeys').
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform