-
Hi, i'm new to this forum, and fairly new to VB, and after finally figuring out how to get the scrollbars to work, i found that they scrolled the same amount, no matter what i change any of the seetings to, and i was wondering if someone could provide me with code to fix this problem, i tried a Scroller Control which worked fine, until you scrolled the image, then you get the "paint knife dragged across wet paint" effect. Any help appreciated
-
Try this:
VScroll1.Height = picWindow.Height
VScroll1.Max = picPicture.Height
VScroll1.SmallChange = 100
VScroll1.LargeChange = picWindow.Height
-
i'm VERY sorry to keep bothering you but i did what you said and still it did the same thing....if it helps:
I have
1 Picturebox
an image inside the picture box (this is where the selected image is displayed
The name of the Picture Box is "Picture1"
The image is "Image1"
again, thanks for any help
btw where od i put the at code, form_load or _Change or _Scroll ?
-
oh, AND i have both a horizontal and vertical scrollbar
-
The code that I sent you should go in your form's load event.
I'm not sure I understand what your problem is. Please try to explain again.
If you want to, you could email me your project in a zip file and I'll take a look at it.
-
sounds good, what's your addy?
-
Sorry about that. My profile was set wrong so the "mail" icon wasn't showing. You should be able to see it now, but if not, my email is [email protected]