How did you add buttons to the form? Why do you base buttons on commandgroup and not on commandbutton?
>hello,
>
>i created a new method in my class based on form with the following command:
>
>Thisform.cmdClose.visible=.T.
>Thisform.cmdAdd.visible=.F.
>
>buttons cmdClose and cmdAdd are in another class based on a commandgroup.
>
>when i try to run my form, i get this error: unknown member cmdclose..
>
>how do i get rid of this?
>
>thanks!
--sb--