fill textbox in MDI Parent from Global Variable
Posted on 2004-09-06
I have an MDI Winforms App in VB.Net.
When I select a certain Row in the datagrid in the Child Form, I then set a Public Variable (contained in a module) to a certain field value from the database. Then, on closing the Child form, I want to set the textbox1.text (say) on the Parent Form to the value of that Public Var.
On closing Child form, I tested the Pub Var with a MsgBox - fine - the Pub Var value is correct.
But when I close the Child form, the value does not appear in the textbox on the Parent form.
What 'event' do i need to make this happen?
Is is something to do with using 'Me' object??