If you're doing it in the Init of the OptionGroup, you may omit the last parameter.
>Dear all,
>
>In order to set the properties of the options of a optiongroup in the class windows. I type in the following codes at init()
>
>this.setall("fontname", "thefontIwant", "option)
>this.setall("fontsize",12, "option")
>
>so that I need not to set the properties one by one for the option1, option2, option3 .... separately at design time. However, I fail to do that when the form is run. What I have been misunderstood and done wrongly ??
>
>Also, how can I code the statement at the control's setall method ?
>
>
>Regards,
>
>Ransome
If it's not broken, fix it until it is.
My Blog