Changing Scroll Position doesn't work

Macaco

Freshman
Joined
Jul 5, 2004
Messages
39
Hello,

I have got a big PictureBox inside a small panel (A), so the panel has got scrolls.

On the other hand I have got another panel (B) in another part of the form(also with scrolls).
So the form cointains two separated panels .

I want that when the user scrolls horitzontal panel B, the horitzontal scroll from panel A scrolls the same way.

I'm using c++ .net framework. I know that by doing:
PanelA->set_HScroll(50)

I change the position of the scroll, but only the scroll bar changes it's position, it doesn't scroll the picturebox inside the panel !!!!!!!!!!!!!!!!!!!!

this is my problem !!!!!!!!!!!!!!! can you help me pleasE?

p.D. Even doing a CustomScrollPanel happens the same.
 
Back
Top