General information
Title:
Passing values to a VFP COM object
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!
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only