Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Aggregate class construction
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00221944
Message ID:
00221953
Views:
9
>If you were using a custom 3 level class hierarchy where each class on level 2 is based on a class in level one, and each class in level 3 is based on a class in level two how would you populate an aggregate class with members?
>
>For example, In level 2 I have a container subclass of the container class in _base.vcx let's say. Now I want to create in level 2 a subclass of the container class with some contained classes inside it. Should the new container subclass from level one or level two and should the contained classes subclass classes in level one or two?
>

Gee... if it were easy, every one would do it. Hehe... take a look at the new code book... it is built with an I-Layer... the c-Layer classes are maintained by Flash and the I-Layer is provided for developer modifications.

So, They have a base form class... cBaseForm -> which is subclassed to the iLayer... iBaseForm. Then, the have the BizObject form... which is a subclass of iBaseForm...

cBaseForm -> iBaseForm -> cBizObj -> iBizObj

Basically, anything that is created for the framework, that is not based on a VFP Base Class, is based on an I-Layer class... so.. if we have...

cContainer -> iContainer
cTextBox -> iTextBox
cLabel -> iLabel

And the framework were to contain a composite class called cLabelTextBox it would be a subclass of iContainer with iTextBox and iLabel in it... Then, that would be subclassed to iLabelTextBox.

All of your application classe are built with iLayerClasses.

Does this make any sense, and answer your question?

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform