from your code you should be able to:
oMyClass.TheForm.<whatever>
Generally, exposing objects like this makes your code less encapsulated.
You should consider just adding properties and methods to the class to
operate on the form:
Property Let FormCaption(NewCaption As String)
frmClassForm.Caption=NewCaption
End Property
Public Sub ShowForm()
frmClassForm.Show
End Sub
<etc>
I wan't sure of the syntax on how to do this, thanks
.>Generally, exposing objects like this makes your code less encapsulated.
>You should consider just adding properties and methods to the class to
>operate on the form:
I have done this to some extent, but the object I want to expose is a
commercial add-in with dozens of methods and properties, and I didn't feel like
re-inventing 55 different wheels on something that wouldn't be changing. I may
still do this to some degree...