
Need help on how to scroll a picture box control (if it can be done)
: I would like to place text controls inside of a picture box control, then
: resize the picture box control so the height is smaller than where I place
: the text controls, so the user needs to scroll the picture box control with
: the Vscroll control.
What you want is called a "viewport". The "trick" is that you use a picture
box _within_ a picture box. The inner picture box will have your controls
and will be the box that gets scrolled vertically -- which you do simply by
using a scroll bar to control the "Top" property of your picture box. (Use
the _Change event procedure of the scroll bar.) The outer picture box which
"contains" the other picture box serves to provide a stationary "viewport"
into the inner picture box that scrolls.
After somebody explains it, this concept seems so simple that you'll wonder
why you didn't think of it yourself! That's how I felt, anyway.
If you want more information, there's an article in the VB Knowledge Base.
You should have it if you've got the Pro edition of VB, or you can search
http://www.microsoft.com/kb, using "viewport" as a keyword.