Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access/Assign methods for OTF properties
Message
De
20/08/2012 09:10:05
 
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:
01550790
Vues:
88
>>>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?

As I understand your situation, these methods must be "generic" methods which you bindevent to.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform