>Hi. I dropped a class onto a form. Attempting to have a method (in my class) change button captions in my form.
>I cannot refence form objects from the class.
>
>Thanks, Randy
From the class instance on the form you can reference form's objects. From the class code itself it's better to not reference any other objects (even this.parent may be a bit problematic) to avoid tight coupling.
Also it's better to reference form's objects in form's method, IMO.
If it's not broken, fix it until it is.
My Blog