-
I have a quick question. I am creating a dll and would like to create a property within a property. Using the MS Printer class as an example:
Printer.Font.Bold
I am familar with the first part:
Generic.Text
But I don't know how to create the next step. Any help would be appreciated.
Thanks
-
There are two ways, udt or oo. Making an Udt is probably simpler but if you're making a control it would be better to make a classmodule and put your second vars there.
For the udt just declare it like this:
Code:
Type udtinfo
Name
Homepage
Email
End type
And use it like this
Code:
Dim Info as udtinfo
-