Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Radio Boxes - Hot key behavior
Message
From
12/06/1997 15:15:55
 
 
To
12/06/1997 15:07:28
Karl Scheff
California Department of Education
Sacramento, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00036138
Message ID:
00036140
Views:
48
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform