Windows Vista Beta | WinVistaBeta.com - Message | Moving Controls on the Form

October 07, 2008  
Subject: Moving Controls on the Form
Group: microsoft.public.windows.developer.winfx.general
Date: 7/21/2007 3:58:03 AM
From: =?Utf-8?B?VmlzaHdhbmF0aGFuIFJhbWFu?= [Email Address Protection]

Hi

I have this problem that I do not seem to understand

I am working on a MDI application

1) I have a form which is around 3 pages long but not all the panels in the
form are nor visible
2) The panels become visible when an event occurs
3) The size of the form varies depending upon the selected options
4) Initially the form is short but as the options are selected the panels
are re located and resized accordingly

At some point in time I find that all my panels begin after leaving a lot of
empty space. Now I have checked the coordinates, they are correct as I
maintain them in a xml file and I can see the changes. Can somebody help me
point what is happening. Is there a bug .NET that causes this.

Also the form do not appear at the top.It always appears mid way. The
coordinate 0,0 begins midway. My understanding it should start on the top of
the form

Any help is greatly appreciated.

Vishwanathan



Back