Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values to a VFP COM object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Passing values to a VFP COM object
Divers
Thread ID:
00152548
Message ID:
00152548
Vues:
38
I created a simple COM object in VFP 6. In the object's Init, I assign the passed value to a public property:

* Start Init code
LPARAMETERS tcCursor

This.cCursor = tcCursor

RETURN .T.
* End Init code

When I create the object, the cCursor property is assigned .F. :

x = CREATEOBJECT("Project1.Class", "Test")
? x.cCursor && Returns .F.

Everything else seems to work. What am I doing wrong?

Thanks!
Répondre
Fil
Voir

Click here to load this message in the networking platform