Solved

About form layout in Vb.Net

Posted on 2003-10-30
4
1,205 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

8 Experts available now in Live!

Get 1:1 Help Now