|
-
Apr 8th, 2000, 08:05 AM
#1
Thread Starter
Junior Member
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
-
Apr 8th, 2000, 08:42 AM
#2
Try this:
VScroll1.Height = picWindow.Height
VScroll1.Max = picPicture.Height
VScroll1.SmallChange = 100
VScroll1.LargeChange = picWindow.Height
-
Apr 8th, 2000, 10:43 AM
#3
Thread Starter
Junior Member
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 ?
-
Apr 8th, 2000, 10:58 AM
#4
Thread Starter
Junior Member
oh, AND i have both a horizontal and vertical scrollbar
-
Apr 9th, 2000, 12:09 AM
#5
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.
-
Apr 9th, 2000, 12:31 AM
#6
Thread Starter
Junior Member
sounds good, what's your addy?
-
Apr 9th, 2000, 12:40 AM
#7
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|