Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visual Studio 2008 VB Scrollable form

Posted on 2008-10-19
2
Medium Priority
?
239 Views
Last Modified: 2013-12-26
Hi

I have a Windows form that I need to fit a lot onto. How do I make a scrollable form and what code do I use.
0
Comment
Question by:Murray Brown
2 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 22753134
Set the AutoScroll() Property of the Form to True.  Then when controls are outside the visible portion of the form (due to resizing of the form) the appropriate scrollbars will appear.  This works for many other containers such as the Panel.

See AutoScroll():
http://msdn.microsoft.com/en-us/library/system.windows.forms.scrollablecontrol.autoscroll.aspx
0
 

Author Closing Comment

by:Murray Brown
ID: 31507620
thanks very much
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

877 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