How to pass values from Child form to parent form with Modeless

  • Thread starter Thread starter Chandru
  • Start date Start date
C

Chandru

hi
I want to know how to pass values from different forms.
That is, i created one parent form. from there i opened
child form modeless way. Once i close the child form i
need some value from child form that to be transferred in
Parent form. thanks in advance.
 
Hi Chandru,

You might Hide (instead of close) the child form, notify parent (by some
method) then let the parent retrieve the values and close the child form.
 
Just use a property, register yourself for the form's close event and wait
there to read it.
 
Back
Top