Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Aggregate class construction
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00221944
Message ID:
00221988
Vues:
13
Yes, I think you are saying that any class of any vcx should be a subclass of another vcx library except contained classes should have their parent class in the same vcx library as their container.

Just to get more confidence with an example in the _FFC, I took the example of the _datanav.vcx. Its container for navigation has parent _container from _base.vcx. Great so far. Now the four contained buttons are specialized subclasses of one button in _datanav.vcx whose parent is _commandbutton in base.vcx!? So this example does both have the contained classes from same level and below it:)

I'm very glad to have your examples from Codebook as it probably has the most evolution time in it.

Thanks

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform