Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Duuudes:
I have a question about setting up classes. I currently have a situation that I need to set up a class that contains properties then those properties need to have properties. For ex: I've set a class up called Shapes. The Shapes object then has multiple shapes under it, Shapes.Square, Shapes.Circle, Shapes.Rectangle, etc. I want to be able to get the color of a certain shape such as: Shapes.Square.Color I know how to set up the properties one level deep in a class with the property let and property get procedures, but don't understand the syntax of how to give a property it's own properties, if that makes sense. Do I need to set up classes for each shape then associate that back to the Shapes object somehow? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling Classes from Classes | Excel Programming | |||
Constructors for Classes | Excel Programming | |||
Classes containing Classes | Excel Programming | |||
Using Classes in .xla | Excel Programming | |||
object classes | Excel Programming |