Solved

VB.NET - Maximum Length of Form

Posted on 2003-11-01
4
645 Views
Last Modified: 2012-05-04
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
0
Comment
Question by:careyadkins
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 9670824
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.
0
 

Author Comment

by:careyadkins
ID: 9670893
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)....
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 9670992
You might try adding a Panel to the form.  It appears that with AutoScroll = True with the Panel control, that it will let the control's position go beyond the working area for the form.
0
 

Author Comment

by:careyadkins
ID: 9671071
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!!

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question