Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I access properties within a container class
Message
 
 
À
14/09/1998 16:49:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00136450
Message ID:
00136463
Vues:
14
Dave,

You can design the container class with the contained objects already placed in at design time. If the objects are stuffed in at runtime they can use this.parent to access the container properties. Realizing that if you are using custom properties of the container that you are restricting the subclass of items used in the container and where the subclass can be used.

Maybe if you give a little more detail of your end goal we can suggest better solutions.

>Trying to create a class based on a container with multiple controls within the container. How do I access properties within the container since during the design controls are not actually on a form?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform