Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access and Assign vs. OOSE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00149911
Message ID:
00149961
Vues:
39
>But consider:
>
>A. object2.SetMyProp(myvalue)
>
>B. object2.myprop = myvalue
>
>If in B myvalue is intercepted by object2.myprop's ASSIGN event and then assigned, is that similar to A?

Hi John and Gary,

I'm with Gary on this one the syntax is different, but the object that owns the property is still controlling it completely. It may not be quite as readable, but if you always use Access and Assign to get and set properties of another object, it's pretty clear what's going on.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform