Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access/Assign methods for OTF properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01550780
Message ID:
01551007
Vues:
169
>>>I like using access and assign methods because the consumer doesn't need to know about getter and setter methods.
>>>
>>>This is fine when a property exists on a form/class/etc.
>>>
>>>What about when the properties are created on-the-fly such as scatter name this.oData ?
>>>
>>>How would you go about adding access and assign methods to these properties?
>>
>>Use BindEvent() instead?
>>
>>Tamar
>
>I can't figure out how to have the _access and _assign methods available to bind to. Any thoughts on that?

You cannot.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform