Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Variables from Object to Form?
Message
De
20/03/1998 01:17:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00085886
Message ID:
00085888
Vues:
31
>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

I am not sure, But You can try:

For iX = 1 to _screen.formcount
if _screen.forms(iX).Name = "MySon"
_screen.forms(iX).Caption = "Son, be a man!!"
Endif
Next
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform