Solved

MDI form questions

Posted on 2006-11-06
5
202 Views
Last Modified: 2010-04-24
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.
0
Comment
Question by:huji
  • 2
  • 2
5 Comments
 
LVL 14

Author Comment

by:huji
ID: 17882292
I found the answer to the second part. all 300 points will go to the first one.
0
 
LVL 10

Accepted Solution

by:
Kinger247 earned 300 total points
ID: 17882478
1)

        Dim About As New frmAbout
        About.ShowDialog()
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17882689
The complete answer for question 1 is

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

Fernando
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17882708
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
 
LVL 14

Author Comment

by:huji
ID: 17882742
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Replacing HTML tags in Textarea/Textbox 5 46
SLMGR Switches Are Not Working On KMS Host 3 67
Expando 4 46
I need help embedding an image as HTML in my vb.net application 3 48
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now