Solved

Is there a alternative to Mdi Forms that will give the same capability without some of its transition drawbacks?

Posted on 2006-07-22
4
1,322 Views
Last Modified: 2008-02-01

Hi

I have a large Win Forms application developed in VB.net 2003. There is a main midi parent form with a outlook style menu bar docked on the left with multiple forms with very different functions and database connections that appear filling the remaining space (when maximised) as midi child forms when options are selected on the left menu bar.

This all works very well but when a form is loaded there is this clumsy looking resize that occurs as the new form loads and maximises.

I do not mind if that is life and the only alternative is to build everything as one super form but I was wondering if there was an alternative to Midi forms or some settings I can change to make the transition look a lot cleaner.

Thanks in Advance

Matthew
0
Comment
Question by:mj_stanton
[X]
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
4 Comments
 
LVL 63

Assisted Solution

by:Fernando Soto
Fernando Soto earned 250 total points
ID: 17160031
Hi  mj_stanton;

Have you triedusing

    Me.SuspendLayout()
    ...
    Me.ResumeLayout()

To see if that would help?

Fernando
0
 
LVL 34

Accepted Solution

by:
Sancler earned 250 total points
ID: 17160064
Matthew

I'm not sure if it's as simple as this but this method of loading a childform

        Dim childform As New Form2
        childform.MdiParent = Me
        childform.Show()
        childform.WindowState = FormWindowState.Maximized

may well show a "clumsy looking resize that occurs as the new form loads and maximises" but reversing the last two lines

        Dim childform As New Form2
        childform.MdiParent = Me
        childform.WindowState = FormWindowState.Maximized
        childform.Show()

will not show the form until it is already maximised.

Roger
0
 
LVL 7

Expert Comment

by:levyuk
ID: 17160077
You could use a tabbed document format instead of an MDI
0
 

Author Comment

by:mj_stanton
ID: 17183945
Thanks for the input I used the suggested mothods as well as playing around with the "Start Position" and other properties and it minismised the chasos of changes that were going on as I changed forms.

Thanks Again
Matthew
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

617 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