Hi,
here is my problem: I have created panel and put picBox in it. AutoScroll for panel is on, so the scrollbars are there. When scrollbars come to the limit, pictureBox is fitted with new image. Image is loaded correctly, but scrollbars rest in last position, i.e. they don't come to position x=0,y=0 as wanted.
Any ideas?
pete
pete08
0
Light Poster
Recommended Answers
Jump to PostPlease attach picture to what happened to understand you well.
Jump to PostReset the scroll bars:
panel1.AutoScrollPosition = new Point(0, 0);
All 8 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
sknake
1,622
Senior Poster
Featured Poster
pete08
0
Light Poster
sknake
1,622
Senior Poster
Featured Poster
pete08
0
Light Poster
sknake
1,622
Senior Poster
Featured Poster
pete08
0
Light Poster
sknake
1,622
Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.