Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OptionGroup behaviors
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01290201
Message ID:
01290288
Views:
13
Yep, I did that already. I even did ThisForm.OptionGroup1.Option2=1 and then ThisForm.OptionGroup.Option2.Click() and then even SetFocus(), still same problem. I have to physically click on that 2nd radio button to get the first radio button to turn off.

Still showed both the first and second buttons with the dot inside it.

>You should work with option group as whole. Something like
OptionGroup.Value = 2
>>I have a set of radio buttons in a Group, as well as a checkbox control. When I click on the checkbox control, I expect it to set the value of OptionGroup.Option2 to 1.
>>
>>It works fine, unless I first select a radio button such as Option1 or Option3 and so on; then when I click on the CheckBox that sets the Option2 on, I see that both Option1 and Option 2 are selected. But, how can this be? Do I specifically need to check each Radio Option Button to see if any of them have a value of 1 before I set the value of Option2 to 1 (or on)?
>>
>>Does anyone understand what I wrote above?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform