Scroll a Form When VB Forms Are Limited to Screen Size

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Beginning
Author:
Brian M. Matumbura

Version Compatibility: Visual Basic 6

More information:
A Visual Basic form cannot be sized larger than the screen. This article explains how to scroll the contents of a form to enlarge the usable area of a form. The sample program below works by scrolling a picture box control which is larger than the form and contains attached controls. When the picture box scrolls, all the attached controls scroll together.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download scrollform3.zip