Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does method of class reference property of the class
Message
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01501513
Message ID:
01501517
Views:
37
Thanks Naomi, that is what I was thinking, but wasn't sure.

I knew the UT could answer that quickly!

Jim

>>I am defining a non-visual class.
>>I define properties and procedures of this class.
>>
>>I instantiate an object based on that class.
>>
>>1. How does code in a procedure of the object refer to properties of the object?
>
>with this
> .PropertyOne = 'Something'
>endwith
>
>>
>>2. Can a procedure in the object call a form, and then have the form store values into properties of the object ? How?
>>
>?
>
>>3. Can that procedure pass to a form a reference to the object, with which the form can access the properties of the object?
>>
>do form myForm with this
>
>Save the reference in the Init of the form and then form can access properties of the object and its methods
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform