I have an MDI app with several child forms.
When the app first loads it is maximized and when a child form is opened I specify
Dim ft As New frmMembers
ft.MdiParent = Me
ft.WindowState = Me.WindowState
and the form fits perfectly in the MDI Parent.
But when I bring the parent to normal size, the child forms do not resize and float in the MDI Parent container.
I would like to have all mdi child forms resize to fit in the Parent when the parent is resized.
I thought that I could run through each open child form and set childform.WindowState = Me.WindowState.
Problem, I don't know how to run through each child form to change it's state...
For each childform in Me.childforms ???
If you think this is a good way to handle this, please provide an example, not a link. My IE crashes when I click on links.
If you think there is a better way, please advice.