Hi

Because vb.net no longer has a autoredraw property on there picturebox's i had to put all the drawing code into this..

Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)


no that works fine, i can move the picturebox off screen, bring it back and it will redraw it self


but it doesnt seem to work when i have the picturebox inside a panel ( which i need because of the scrollbars ). If i scroll the picturebox around using the panels scrollbars its as if the (vb6) autoredraw = false

How can i overcome this problem?