Maximum height of windows form

A

Aniket Sule

Hi,
I am trying to set the height of a form in the VS .net IDE, and somehow seem
unable to set the height beyond 780. I have set the autoscale and autoscroll
properties to true, and the Miniumn size and maximum size are set to 0,0
each. I was under the impression that with these settings I could make the
form as big as I wanted, and could get the scrollbars automatically when
needed. However this doesnt seem to be happening. The height gets reset to
780 if i type in anything bigger than that.
Am I missing something here ? Does anyone have an idea why I see such
behavior ?

Thanks in advance for any help,

Aniket Sule
 
H

Herfried K. Wagner [MVP]

* "Aniket Sule said:
I am trying to set the height of a form in the VS .net IDE, and somehow seem
unable to set the height beyond 780. I have set the autoscale and autoscroll
properties to true, and the Miniumn size and maximum size are set to 0,0
each. I was under the impression that with these settings I could make the
form as big as I wanted, and could get the scrollbars automatically when
needed. However this doesnt seem to be happening. The height gets reset to
780 if i type in anything bigger than that.
Am I missing something here ? Does anyone have an idea why I see such
behavior ?

In Windows, forms cannot be larger than the screen.
 
A

Aniket Sule

Thanks for the info. I actually got around this by adding a panel inside the
form with autoscroll set to true. Apparently this panel can grow as big as i
need it to be.

Aniket Sule
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top