Solved

About form layout in Vb.Net

Posted on 2003-10-30
4
1,221 Views
Last Modified: 2006-11-17
Hi Guys  I have a question about the layout of the forms in Vb.Net. I have a Main Form in which I have a menu bar through which  the user can access different forms. Now when any other form I am maximising  it is hiding the menu bar of the main form I do not want this I want that the menu bar should be visible. Secondly the status bar on the main form is not visible I want the status bar of the main form to be visible and the rest of the forms when opened should open between the menu bar and the status bar. the other thig which I want is that when I minimise the form it should be visible in the status bar . Any help in any matter would be great.

Thanks in advance
faisal
0
Comment
Question by:faisal_n_k
4 Comments
 
LVL 3

Accepted Solution

by:
the-edge earned 50 total points
ID: 9648884
use a MDI interface

decide which form is the parent form and set its IsMDIContainer property to true.
then set the property MdiParent of each form to the parent form, and the property ShowInTaskbar to True

little sample:
assume you are inside form1

        Dim myFormChild As New Form2
        myFormChild.MdiParent = Me
        myFormChild.ShowInTaskbar = True


the edge
0
 
LVL 4

Assisted Solution

by:brother7
brother7 earned 50 total points
ID: 9648933
Here's a good introduction to MDI for you.
http://www.vbrelated.com/vb/ch13/13_09/

It's actually a section out of the highly-acclaimed book "Visual Basic .NET How to Program" by Deitel.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10232238
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: the-edge {http:#9648884} & brother7 {http:#9648933}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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