If this presents a problem to you, I'd suggest modifying your code so that it can be run from the OptionGroup.Init instead of from the Button's .Init.
>Thank you for clearly answer. :)
>
>>This is by ( bad ) design.
>>Help:
>>
>>Member Classes (Visual FoxPro)
>>>>
>>
>>Note:
>>On an .scx form, if you add instantiation code to the member class's Init event,
>>Visual FoxPro disregards that code and only the Init code for the member class definition runs.
>>However, with visual class library (.vcx) forms, Visual FoxPro creates a true subclass.
>>You can safely add instantiation code for other events such as Click.
>>
>>
>>Another scx's problem is on the memberclass object's Name,
>>- at Init time, the name is not assigned.