Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access/Assign methods for OTF properties
Message
From
20/08/2012 09:10:05
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01550780
Message ID:
01550790
Views:
87
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform