Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transfer values from 1 form to another form!
Message
De
27/04/2000 12:38:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00364132
Message ID:
00364163
Vues:
24
You can pass the object reference to the second form as a parameter when calling it.

Something like:
DO FORM MyForm WITH ThisForm.txtText

In the second form, you save the reference to a property so that it will be visible after the Init() event terminate.

MyForm.Init():
LPARAMETERS toObject
ThisForm.MyProp = toObject

You can then use the property in your code:

ThisForm.txtText2.Value = ThisForm.MyProp.Value

HTH
> My question here is how to display an object's value of 1 form on another form and these two forms are separated(not in a formset).
> I really need your help. Any ideas, suggestions will be appreciated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform