Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM and Access/Assign
Message
From
20/10/1998 10:29:31
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
 
 
To
20/10/1998 02:59:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00146877
Message ID:
00148485
Views:
27
My mistake - it was supposed to be Property_Access.

Eric Shaneson
Cutting Edge Consulting


>Hi Eric,
>
>Your FUNC Property_Assign code looks like a typical _Access method. Try using an _Access method instead of _Assign.
>
>
>>I've noticed some other Access/Assign stuff that doesn't work right over COM either: like when you've got a property of an object whose value is calculated via the Access method, i.e.
>>
>>DEFINE CLASS Object
>> Property=0
>>
>>FUNC Property_Assign
>> RETURN CalculatedValue (where CalculatedValue is some calculation)
>>ENDFUNC
>>
>>ENDDEFINE
>>
>>Calling from VFP returns CalculatedValue. Calling from COM returns 0.
>>
>>Any ideas?
Eric Shaneson
Cutting Edge Consulting
Previous
Reply
Map
View

Click here to load this message in the networking platform