Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing an object from a property
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00517216
Message ID:
00517261
Views:
14
>>Simple,
oControl = EVALUATE(ThisForm.cControl)
>>? oControl.Value
>
>So lets say I have a property on my form call oUser. In the init of the form, I have :
>
>
THISFORM.oUser = EVALUATE( "oUser" )
>
>oUser is a reference to a class a I had to use elsewhere as well. Will I now be able to reference THISFORM.oUser as a class?
>John

Nevermind, I tried it, it worked. Just need to set the property to NULL when form is destroyed.
John
Previous
Reply
Map
View

Click here to load this message in the networking platform