General information
Category:
Forms & Form designer
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only