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.
LVL 14
hujiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Kinger247Connect With a Mentor Commented:
1)

        Dim About As New frmAbout
        About.ShowDialog()
0
 
hujiAuthor Commented:
I found the answer to the second part. all 300 points will go to the first one.
0
 
Fernando SotoRetiredCommented:
The complete answer for question 1 is

        Dim About As New frmAbout
        About StartPosition = FormStartPosition.CenterParent
        About .ShowDialog()

Fernando
0
 
Fernando SotoRetiredCommented:
Sorry forget a dot and had a extra space in my last post.

        Dim About As New frmAbout
        About.StartPosition = FormStartPosition.CenterParent
        About.ShowDialog()

Fernando
0
 
hujiAuthor Commented:
Thanks to both, and I had to give the points to the faster answer. Please follow me here:

http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_22050596.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.