Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group question
Message
From
01/02/2007 07:11:06
 
 
To
01/02/2007 06:33:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01191265
Message ID:
01191286
Views:
8
>>I have an option group on a form with 3 options - say "Apples","Oranges","Lemons". When a user steps into the group using the keyboard the first option always gets focus - even though another option may be the one showing the true value in the radio button. How do I get the focus to land on the option that has the true value shown by the radio button? I can't seem to see any property that allows me to do this.
>>
>>At present a user can step through the option group and accidentally change the selected option to the first radio button.
>>
>>I hope that I have explained the problem clearly enough. (A lot easier to demonstrate than to describe!)
>>
>>Thanks
>>Barry Sutton
>
>Barry,
>Use a container. Put the optiongroup in container.
>
>*Container gotfocus
>WITH this.optFruits
> .Buttons(max(.Value,1)).SetFocus()
>endwith
>
Cetin

Cetin
Thank you for your suggestion. I will try this as it looks quite generic.
Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform