Jim,
First of all, has your form class been instantiated with CREATEOBJECT? If so, use the object reference variable like so:
oMyForm.MyButton1.Caption="MyButton1"
HTH
>I made a vcx with a form and some button objects. I need to access the properties of the buttons from another form or event. How do I do it? Do I have to use SET CLASSLIB first?
>
>Please Help
>
>Jim
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.