Quote:
>I understand the Property Let and Property Get, however I don't quite
>understand the Property Set... every time when I try to use that, it gives
>me an error...
Property Set is used like Property Let, but when you want to set a
pointer to an OBJECT rather than to a scalar value such as an integer
or a string.
For example, if you wanted to assign a form to a property called
ParentForm in a class:
private m_ParentForm as Form
Property Set ParentForm(vNewValue as Form)
set m_ParentForm = vNewValue
End Property
In this case the Property Get would also return a reference to the
private object:
Property Get ParentForm() as Form
Set ParentForm = m_ParentForm
End Property
-- Jim Ferguson, FMS
http://www.fmsinc.com