
Sub Property in Class module
Quote:
> I am using a class module with several properties. On some of the
> properties it would be nice to be able to have a 'sub property' For example
> like the properties in a recordset:
> RecSet.fields(0).name
> Where name is the sub property. Is it possible to do this in my class
> module? If so, how?
Use more then one class module. Define your "sub-class"
first, then, when building the top level class, declare
one or mor of the properties to be of Class "whatever-
subclass-you-created". Then, when accessing rhe properties,
you should see the properties of the sub-class whenever
you access that property.
:) the Christian Privateer :) Company: ppse.org
:) aka Jack Voltz :) Home page: ppse.org/me
:) M A R A N A T H A ! :) Prolife: ppse.org/prolife
:) S i e m p r e P o r V i d a ! :) Music: ppse.org/music
;) Pour la Vie, toujours ! :)
;) Sempre per la Vita! :)
;) Semper Pro Vita! :)
;) A L W A Y S P R O L I F E ! :)