The base class is 'optopnbutton' not 'option'
this.setall("fontname", "thefontIwant", "optionbutton")
this.setall("fontsize",12, "optionbutton")
You can also select multiple multiple optionbuttons in the Designer using Shift key and mouse and change their properties at once.
>
>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 ?
>
--sb--