Adding a scroll bar to picture control
Posted on 1997-09-20
I want to be able to draw lines in a picture control at run time so the code would be something like
Picture1.Line (X1,Y1)-(Y2, Y2), RGB(0, 0, Color)
What if I want to draw more than the defined size of the Picture control. Can I add scroll bar to the Picture control somhow so I can draw beyond the size of the Picture control and be ble to scroll?
If it is impossible, is there any other alternatives to do the same task? --> I need to draw lines, but I don't know how many lines I need to draw. If it goes beyond the size of the initial screen, I want to be able to scroll up and down or right and left to see the entire picture.
Any suggestions will be greatly appreciated.