Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Jul 2001
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to create Horizontal & vertical scrollbar (VB.Microsoft.6)

    hi,
    create a form in VB itself with fields seems do not automatically give me scrollbar if the design layout
    larger then the screen. So i try to put a Picture box as background, and paste those fields in the picture
    box. Anyway, how can i use the horizontal and vertical scrollbars in this scenario so i can scroll up and down for the picture box?

    thanks in advance.

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: how to create Horizontal & vertical scrollbar (VB.Microsoft.6)

    Are you talking about a scrollbar on the form or in the controls? If you mean the form, drag the VScrollBar or the HScrollBar controls onto the form. You need to use the Min and Max properties of the scrollbars to reflect the screen locations of your picturebox for each of those positions and set the LargeChange and SmallChange properties as well. Does that help?
    Charlotte

  3. #3
    Lounger
    Join Date
    Jul 2001
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: how to create Horizontal & vertical scrollbar (VB.Microsoft.6)

    hi,
    yup this is what i need. thanks alots for the help <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

Posting Permissions

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