All,
Am trying to open a MDI child form by clicking a node in a Treeview control docked on the left side of a MDI Parent form .
This is the code on node click ,
Dim NewMDIChild As New frmClientList
'Set the Parent Form of the Child window.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()
'Dock the Child form in space between the treeview control and right edge of MDI Parent form
NewMDIChild.dock = dockstyle.fill
THE PROBLEM is the child form opens below the Treeview control and a part of it is hidden under it. Please lemme know the method to prevent this and open the child form in a maximized view in the remaining space in the MDI Parent form.
Hope to interact with y'all and learn and contribute to the group.
Regds,
Odyzeus
Am trying to open a MDI child form by clicking a node in a Treeview control docked on the left side of a MDI Parent form .
This is the code on node click ,
Dim NewMDIChild As New frmClientList
'Set the Parent Form of the Child window.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()
'Dock the Child form in space between the treeview control and right edge of MDI Parent form
NewMDIChild.dock = dockstyle.fill
THE PROBLEM is the child form opens below the Treeview control and a part of it is hidden under it. Please lemme know the method to prevent this and open the child form in a maximized view in the remaining space in the MDI Parent form.
Hope to interact with y'all and learn and contribute to the group.
Regds,
Odyzeus