-
Hello!
I have run the scrollable form program. This can give me many idea. However, All element in form are Control. Now, my problem is I want to scroll the form, but not control in the form, only some Line or Point on the form. They are not control. How to Scroll them on the Form?
Thank you!
KLTsang :)
-
Where are your lines and points, in the form, or in a picture box in the form.
If it are in the form, there are no solution. You lmuste re-draw your lines and points
If it are in a picture box. You can move this control all around the form by changing the Left and Right properties. (maybe must you re-draw also the picture box)
-
You can use this code to move it. Make sure that you set the ScrollBar's value to a reasonable amount.
Code:
Picture1.Left = HScroll1.Value