Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM and Access/Assign
Message
De
20/10/1998 10:29:31
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, Californie, États-Unis
 
 
À
20/10/1998 02:59:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00146877
Message ID:
00148485
Vues:
28
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform