Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return a value from an instantiated form class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01207599
Message ID:
01207620
Views:
24
Well, I was having to avoid having to create the object. Was just wondering if there's a Do myForm to myVariable equivalent.

In my programs I also use _Screen to create custom properties and avoid creating public variables. I've found it specially handy for that matter.

>>Thanks Naomi! It was trying to avoid using it that way but I think I'll go with it.
>>
>>Enmanuel
>
>Wtat exactly did you try to avoid?
>
>Two most common methods are: hide the form and access its property, then release the form or pass an object to the form. Extra suggestion by John Harvey is to use _screen as a "passing" object.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Reply
Map
View

Click here to load this message in the networking platform