>Hi,
>I have an option group control in my class library with button count = 2. When I use the control on a form, and I need the button count = 3, the third button does not inheret the Font from my option group class. Instead, it uses Arial. Where is this Arial font coming from?
>Is it possible to code an option group in the class library to have a flexible number buttons?
>I know that using a SetAll in the Init event will fix this problem at run time, but is there a way to correct it at design time?
>Thanks,
>John
Arial is the default font. What I did was define my OptionGroup with 10 buttons. In the Init, I RemoveObject for those I don't need.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer