Solved

VB.NET - Maximum Length of Form

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now