Simple Scroll Bar Example 2

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
The scroll bar example at http://www.freevbcode.com/ShowCode.Asp?ID=958 illustrates the use of a vertical scroll bar control with a text box inside a picture box. Although it shows you how to use a scroll bar, it is not the most practical example in the world, since you can add scroll bars to text boxes just by setting a property in the IDE.

This example is a bit more practical. It uses two picture boxes, a parent and a child. The child is very long and contains lots of controls. The scroll bar is used to scroll up and down the child picture box to bring invisible controls into view.


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 sb2.zip