Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access and Assign vs. OOSE
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00149911
Message ID:
00149961
Views:
38
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform