Results 1 to 7 of 7

Thread: Scrollbars in picturebox scrolling too far

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    29
    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

  2. #2

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    29
    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 ?

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    29
    oh, AND i have both a horizontal and vertical scrollbar

  5. #5
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    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.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    29
    sounds good, what's your addy?

  7. #7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width