I’ve read a lot of old posts about scrolling canvases, read the documentation but still having difficulties. Here’s the scenario:
I am directly drawing a complicated graphic image to a canvas, not a picture. Here’s the simple code which is in the Paint event of the canvas:
[code]g.ScaleX = PS.ScaleX
g.ScaleY = PS.ScaleY
The scaling is so I can zoom in on the drawing. The PS.PrintPuzzle is the whole complicated drawing set of methods. It works fine except when I try adding this to the Paint event:
Me.Scroll (-scroll2, -scroll1)
I get the drawing followed by the scrolling and a general mess. Do I have to use DrawPicture to get this to work?