Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug with option group in VFP6?
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00830472
Message ID:
00830681
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
Nadya,

You set the opg.Value to 1 if you want the button with te value of 1 selected.


>I set ButtonCount to 0 in my class, but it didn't solve the problem :( In my code I set first option to 1 programmatically, then another option to 1 programmatically. As a result I see two options selected. But I need only the last option, which I set, to be selected. How can I solve the problem in easy way?
>
>Thanks a lot in advance.
>
>UPDATE. I've just created a test form with option group with 3 option buttons. I programmatically set button's values to 1 (2nd and 3rd) and as a result all 3 options were selected. I'm wondering, what is the behavior in VFP7/8 and is this considered a bug or not?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform