Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

MDI form questions

Posted on 2006-11-06
5
218 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 63

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 63

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 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