Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OptionGroup behaviors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01290201
Message ID:
01290288
Vues:
12
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform