Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 978
  • Last Modified:

Scroll bar vb2010

Hello all,

I need your help with a scrollBar issue.

I have a PictureBox1 in my From4.

Beside, i have a VScrollBar1.

What i want to do is to scroll down my PictureBox1 from the top to the bottom.

How can i do that please?


0
Wilder1626
Asked:
Wilder1626
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Can you give more details?

Typically you'd set the SizeMode of the PictureBox to AutoSize so that it becomes the same size as the Image loaded within.
Then you'd place that PictureBox inside a PANEL that has AutoScroll set to True.
Now you'll have ScrollBars that allow you to scroll around the Image.
0
 
Wilder1626Author Commented:
This is easier then VB6.

Thanks for your help. This is great.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now