Log in

View Full Version : Class Hierarchy



Marmalade
06-21-2016, 05:59 AM
This may not be in the right place as though I'm working in Access it is a general VBA question.

When creating classes, can I create a hierarchy of properties? I don't mean an inheritance hierarchy - if I had Person, I could have Person.lastName and Person.firstName but I want Person.Name.First and Person.Name.Last

Is there any way to do this?

Many thanks,

Marmalade

jonh
06-21-2016, 01:23 PM
You mean name can't be a separate class? I don't think so.