>i have a class for my buttons named "mybutton1". this class has a command group named mybutton. i put this class inside a form named myformbase1 which is also a class based on form.
>
>i want a button in my button to be disabled when my form is loaded. i use "thisform.cmdButton1.Enabled=.F."
>
>an error occurs, "unknown member CMDBUTTON1".
>
>what should i do?
thisform.myButton1.cmdButton1.Enabled=.F.
Is that what you need?