Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am designing a Form using VB 2010, I am unable to completely design the form as they is not space to place more controls on the form.

Using the form properties, I can set the Maximum Width of Form to 1044, and Maximum Height is 788 only

I have gone through some solutions, which seems to be not clear to my question.

Kindly lemme know, if we can increase the height of the form to 1000 during design time


thanks & regards
Prem
Posted
Comments

Highlight the form in the design view, and look at the properties pane. First check the MaximumSize property. It should be 0,0 - if it isn't that will restrict the maximum dimensions.
Then check the Height property, and try manually setting it to 1000 via the property pane - it should work.
 
Share this answer
 
Comments
Ralf Meier 23-Jun-15 4:46am    
@OG:
I thougth the same as you. So I looked in my System and there also the maximum dimensions of a Form are limited - not to the same value as the Thread-Starter but also limited. I think it depends to the Screen-Size.
Could you confirm that ?
OriginalGriff 23-Jun-15 5:19am    
Yes it does! Confused me, because I have one screen in Portrait mode, so my "screen dimensions" are 2772 x 1932.
It won't let you exceed that in the designer (though it probably will programmatically - I haven't checked)
Ralf Meier 23-Jun-15 8:28am    
Because I'm also interested in this :
Do you know any work-around for this ?
to complete this Thread :
The Form-Size is limited by the Screen-Resolution.
For more Information see also : https://msdn.microsoft.com/en-us/library/25w4thew(v=vs.110).aspx[^]

A work-around could be :
http://stackoverflow.com/questions/6651115/is-the-size-of-a-form-in-visual-studio-designer-limited-to-screen-resolution[^]
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900