Link to home
Start Free TrialLog in
Avatar of careyadkins
careyadkins

asked on

VB.NET - Maximum Length of Form

Ok...here's a chance for someone to pick up some easy points....I have a standard form nothing special here, but my problem is that the form length (or height) is maxed out in design view. I am needing to create a very long form with a scrollbar. (when I say long I mean very long!!).  It's not an option for me to use a tab control and try to shorten the length..etc...  I need a form longer than what vb is allowing me to drag it at in design view.   So my question is...is there a maximum length...I can't imaging there would be with scrollbar capabilites...so my next question is how do I increase the length, if I can no longer drag the boundaries of the form down any more??

Hopefully this is easy points for someone!
Thanks
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

The maximum height of the form depends on the screen resolution.  In my VB6 days, I found that forms with border style None would let you increase that beyond the limit, but I haven't found that to be the case with VB.NET.
Avatar of careyadkins
careyadkins

ASKER

Typically in Access, if I build a form with a 1024x768 resolution then switch to 800x600 is will just add scrollbars as will vb.  Are you saying that with vb.net there is a limit in the length of a form?  (Seems like the scrollbars wuold allow for an unlimited length)....
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You'd think vb.net wouldn't requrie a work around like this for something that seems so basic, but it works great usig a panel to increase the size to the desired length.....so thanks for the help!!