Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement