Solved

Scroll bar vb2010

Posted on 2011-02-20
2
968 Views
Last Modified: 2012-08-14
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
Comment
Question by:Wilder1626
2 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 34939176
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
 
LVL 11

Author Closing Comment

by:Wilder1626
ID: 34939209
This is easier then VB6.

Thanks for your help. This is great.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question