Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access and Assign vs. OOSE
Message
From
23/10/1998 15:06:27
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00149911
Message ID:
00149968
Views:
40
Hmmmm....

OK! Gary wins! :-)



>>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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform