Tools Links Login

Scrolling Form

This code is a template for a scrolling form. This is great to use if you would like to create applications that work in all resolutions.
I reccomend placing this form in your C:Program FilesMicrosoft Visual StudioVB98TemplateForms
folder so that it is available as a form template.

Original Author: Roy Bernhard

Assumptions

On the main form there are two picture boxes, and two scrolling controls. The scrolling controls are not initially visible as they get sized during run-time. The most important aspect of this form is the size of the inner picture box, as it represents your 'form'. So basically all you should worry about with this form is to make the form big enough to see the main picture box, and the main picture box big enough to see the inner picture box(the one with the black outline.) Then just add controls to the inner picture box as you would a normal form and viola! The inner picture box is set by default to be horizontally fully viewable in 800x600. Finally, I would suggest removing the border of the inner picture box before final compile so it all looks perfect! Enjoy.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 73 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD8528822000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 1,477 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.