Solved

VB.NET - Maximum Length of Form

Posted on 2003-11-01
4
646 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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