The way it's done in Visual Maxframe, which I use, is that the custom option group class has 10 buttons, each with the revised code. There is a method called when initializing the option group which checks to see how many buttons you want 'live'. They handle grids the same way.
HTH
Barbara
>Problem: When I increase the number of buttons in an subclassed option group (after dropping it on a form), the new option buttons are based on the VFP base class. Hence my font and other misc. settings are based on the VFP optionbutton base class -- not my subclassed and revised optionbutton class.
>
>How do I redefine the parent of the optionbuttons in my subclassed option group. I figured out how to redefine the parent of a class (e.g a form, textbox, label, etc) -- but cannot figure out how to redefine the objects within a class.
>
>Thanks