Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about assign methods
Message
De
16/06/2004 06:09:02
 
 
À
15/06/2004 22:56:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00914118
Message ID:
00914166
Vues:
10
How about having each member object initialized by themselves in INIT()?

Just a thought...


>Does the following make sense?
>
>I want to set key properties of a container at the container-level. The properties are really relevant for the contained objects, but I want to have key definitions in one central location.
>
>Assign-methods will copy the properties to the corresponding properties of the contained objects. In some cases, they will be copied as-is, in others, additional manipulation is required.
>
>Since I can give the properties at the container-level values in the property sheet, I force the assign methods to be executed, by assignments such as:
>
>
>This.Property1 = This.Property1
>
>
>Does this work, does it make sense, or is there perhaps a better way?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform