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:
00830567
Views:
23
>Nadya,
>
>No, I didn't specifically try to reproduce this problem. I am 99.9% sure though that it'll be solved by setting ButtonCount = 0 in your lowest level opg subclass. If that doesn't fix it I can look into it some more.

Hi David,

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?

In any case, what is the workaround against this behavior?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform