vb.net - How do I disable opening multiple MDI Child in VB2010 -
i trying create menu driven application using mdi forms. problem menu in mdi parent create new child every time clicked on it. how allow 1 particular instance of child open particular form allow multiple forms different menu open. example, want child "file" open along "edit" child. also, there way close other forms whenever new form open?
you can of checking mdichildren array of main form. array list of open mdi children on form.
you can determine if instance of form open looping through array , checking if form of type requested open.
to close open forms, loop through mdichildren
, call close
on of forms.
Comments
Post a Comment