>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