Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return a value from an instantiated form class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01207599
Message ID:
01207620
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform