Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initializing/add an object in a method/proc of a class
Message
From
20/09/2007 14:29:59
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
20/09/2007 14:24:30
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01255782
Message ID:
01255804
Views:
18
>
>ADDPROPERTY(THIS.oSendData, 'Company', Company)
>ADDPROPERTY(THIS.oSendData, 'DataExchangeType', DataExchangeType)
>ADDPROPERTY(THIS.oSendData, 'DataArea', DataArea)
>ADDPROPERTY(THIS.oSendData, 'strProcessData', strProcessData)
>
>What is oSendData?
>Where it is Initialized?
>Also what is Company (3th parameter of AddProperty)?
>Can you post the whole code of that class?

MyClass.oSendData.Company

MyClass.oEncodingCharacters

MyClass.InitializeObjects()

So, "THIS" is equal to MyClass.

There is waaaaay too much code to post - is the above enough to help? But it's really not a big deal as the ones I needed to work do. I just thought I could take it to another level.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform