Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrollbars for controls in a picture box container...

Status
Not open for further replies.

CubeE101

Programmer
Nov 19, 2002
1,492
US
What is the best way to implement Scrollbars into a resizable picture box (such as tied to a Window's size and/or a Splitter) to allow you to change the offset to pan around and see controls not in view...?

Do you have to make a PictureBox in a PictureBox with ScrollBar controls then move the embeded PictureBox around with the ScrollBars within the Main PictureBox...?

Or is there a less complicated way of doing this?

*Other Notes:
The controls in the picture box that I want to move around include 5 Frames, with multiple CheckBoxes, RadioButtons, CommandButtons, TextBoxes, ComboBoxes, and Labels...

The only controls directly embeded in the PictureBox at this time are the Frames, which the rest of the controls are embeded in...

I Do Not Want To Use A 3rd Party Class For This...
The final product is a single EXE...
No Package and Deploy mess...
It will reside on a network and have built in functionality to run the latest version when opened...
So please try to keep replies to Standard VB Controls


Thanks in Advance,
-Josh

Visit My Site
PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top