VB6 is compiled how MDI form under the main form of all child
Time:09-19
To achieve the following functions, VB6 can support this function: An MDI main forms below already open more child form: frm1, frm2 frm3,... When again click menus, each menu item corresponding to a child form), if the child form before loaded, activates the child form, if the child form didn't load will open the child form,
CodePudding user response:
Current situation is: many child form had already click open, and then click on the menu to open the corresponding form, if the word form already open, will not be able to activate the current state, this leads to the sense that gives a user is: point this menu how did not respond, a closer look at the original already open this form again, if child form a lot of points is not human,
So the idea of having such requirements: when clicking the menu again, program traverse all open a form, if traversal found only need to activate the form to the current status is ok,
CodePudding user response:
This don't need you to write code, you will manage a menu,