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

Click here to load this message in the networking platform