MDI Parent & Child in VB.NET
Posted on 2009-07-08
I have a MDI Application with a toolbar on the parent form. This toolbar has the standard buttons, New, Save. When I click the save button the values returned from controls on the child form are blank. Example. txtName.text has a value but it is returning a null back to the routine in the parent form.
I have also tried using DirectCast(frmName,form) to run a routine from the child form but it still gives blank values for the controls.
What is the proper way to use the MDI Parent toolbar for child forms? Specifically the Save control.