Ok, I got help before on getting my image to scroll to the top left position by doing the following:
gdviewer1.SetZoomWidth
gdviewer1.LockScreen = True
gdviewer1.DisplayFromFile(myImage)
gdviewer1.SetHVScrollBarPosition(0,0)
gdviewer1.LockScreen = False
gdviewer1.Redraw()
I'm having complaints that the scroll is too small so I saw in the forum I need to set the scrollsmallchange. It does work but I've notice a behavior not sure how to fix.
Whenever the code listed above is executed, when I scroll it's slower and jerky. But if I zoom on the screen, then try the scrollbars it works great. I can't figure out why that first time it's so slow.
Any ideas?
