Formsize larger than screensize

  • Thread starter Thread starter Mikael Sorensen
  • Start date Start date
M

Mikael Sorensen

At designtime I would like to create forms larger than my screen size
(1024x768) in VB.NET 2003. However I am not able to create forms larger than
1036x780. - I would like to resize the form to 500x5000.

At runtime the form will be resized to fit the screen.

In VB.NET 2002 I did not have this problem.

Are there any workarrounds, that allows me to work with forms larger than my
screen-size?

Regards,
Mikael
 
* "Mikael Sorensen said:
At designtime I would like to create forms larger than my screen size
(1024x768) in VB.NET 2003. However I am not able to create forms larger than
1036x780. - I would like to resize the form to 500x5000.

At runtime the form will be resized to fit the screen.

In VB.NET 2002 I did not have this problem.

Mhm... Windows doesn't support forms larger than the screen size.
 
Well... actually it seems that it is kindof supported.

Set the forms Autoscroll property = true.

Pull the objects on the form beyond the edges of the form.

Now the form displays a scrollbar.

In my case the form is now about 5000 pcx high.

At run time set the form height and the Autoscroll property = false. This
hides the scrollbar and resizes the form to fit the screen.

Regards,
Mikael
 
* "Mikael Sorensen said:
Well... actually it seems that it is kindof supported.

Set the forms Autoscroll property = true.

Pull the objects on the form beyond the edges of the form.

Now the form displays a scrollbar.

In my case the form is now about 5000 pcx high.

Right, but the size of the window won't be larger.
 
Back
Top