Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Variables from Object to Form?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00085886
Message ID:
00085977
Views:
23
>How do I return a variable From an Object to a Form?
>I made a Class based on Form consist of one text box and a label.
>I called the Object from My Form by clicking a command button.
>Obj=CreateObject("MyClass")
>Obj.show
>After I retreive a text , I'd like to pass this value to the Form
>Behind.
>How do I work this out?
>Thanx in advance.
>
>Yong Seung Kim

add property in myclass to hold value to be 'returned'

in calling program after show, say lcReturnedValue = obj.addedProperty

then release obj
Previous
Reply
Map
View

Click here to load this message in the networking platform