Maximum vertical size of form

Lumpy Lizard

New member
Joined
Nov 17, 2004
Messages
2
Programming Experience
1-3
I am enlarging my winform vertically and it stops at 780 pixels.

Is this the limit or I am just doing something wrong? If this is the limit, how do I overcome this?

Thanks.
 
how are you enlarging the form? in code or in the designer? or in the running program useing the mouse?
 
VB.NET:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 				Me.Height = 1024
 	End Sub

works fine for me...
 
The maximum size of the form is based upon the display resolution. It seems that the maximum height is the resolution height plus 12. I have my display resolution set to 1280X1024 and the maximum height I can set my form to is 1036.

This seems logical since anything bigger would not be visible.
 
i'm not so sure on that, because i have recently written a program designed for 800x600 resolution, but i ran it once on a 640x480 system and the form simply ran off the screen. though i am programming in vb.net 2003, i'm gathering a number of people here are useing vb.net 2002
 
The IDE (Visual Studio) will only let you set the size up to the display resolution (plus 12). I am using 2002 and haven't used 2003, but 2005 works the same way.
 
Back
Top