huji
asked on
MDI form questions
150 points are given to the answer if each of these related questions:
1) I have an About form, I want to always appear in the center of the MDI parent form, and as long as it is visible, I want the other forms to not be clickable (Just like the way you can't focus to the main window of Word when you have a dialog box open.) Is this possible?
2) I have a menu item in the parent form, which calls Show() method of one of the child forms. I want to add a functionality, so that, when that menu item is clicked and the child form is minimized, it restores the child window.
1) I have an About form, I want to always appear in the center of the MDI parent form, and as long as it is visible, I want the other forms to not be clickable (Just like the way you can't focus to the main window of Word when you have a dialog box open.) Is this possible?
2) I have a menu item in the parent form, which calls Show() method of one of the child forms. I want to add a functionality, so that, when that menu item is clicked and the child form is minimized, it restores the child window.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The complete answer for question 1 is
Dim About As New frmAbout
About StartPosition = FormStartPosition.CenterPa rent
About .ShowDialog()
Fernando
Dim About As New frmAbout
About StartPosition = FormStartPosition.CenterPa
About .ShowDialog()
Fernando
Sorry forget a dot and had a extra space in my last post.
Dim About As New frmAbout
About.StartPosition = FormStartPosition.CenterPa rent
About.ShowDialog()
Fernando
Dim About As New frmAbout
About.StartPosition = FormStartPosition.CenterPa
About.ShowDialog()
Fernando
ASKER
Thanks to both, and I had to give the points to the faster answer. Please follow me here:
https://www.experts-exchange.com/questions/22050596/MDI-Child-always-maximized.html
https://www.experts-exchange.com/questions/22050596/MDI-Child-always-maximized.html
ASKER