Solved

VB.NET - Maximum Length of Form

Posted on 2003-11-01
4
644 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with error when uploading excel file 3 29
Send SMS from VB via Sierra Wireless Modem 2 22
DataTables + iCheck + pagination Issue 2 23
Powershell File Sort 8 31
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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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