Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. scrollbar

scrollbar

Scheduled Pinned Locked Moved Visual Basic
graphics
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    microuser_2000
    wrote on last edited by
    #1

    Hellow to all i am trying to attatch a HScrollbar to a PictureBox or to a form . i am useing drawing method in the PictureBox that i don't wanna lose the painting inside them .. thxx ..

    D 1 Reply Last reply
    0
    • M microuser_2000

      Hellow to all i am trying to attatch a HScrollbar to a PictureBox or to a form . i am useing drawing method in the PictureBox that i don't wanna lose the painting inside them .. thxx ..

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      microuser_2000 wrote:

      i am useing drawing method in the PictureBox that i don't wanna lose the painting inside them

      I fail to see how a ScrollBar is going to accomplish this. How about explaining what you really trying to do and what your problem is.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      M 1 Reply Last reply
      0
      • D Dave Kreskowiak

        microuser_2000 wrote:

        i am useing drawing method in the PictureBox that i don't wanna lose the painting inside them

        I fail to see how a ScrollBar is going to accomplish this. How about explaining what you really trying to do and what your problem is.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        M Offline
        M Offline
        microuser_2000
        wrote on last edited by
        #3

        the thing is like that i have my picture box that i had in it information for this example stations names , but in some cases i have a plenty of station that wont fit all in the same picture box , so what i need is to scroll and go to the right and read the whole information ... that's why i need scroll in my picture box .. thank u ..

        D 1 Reply Last reply
        0
        • M microuser_2000

          the thing is like that i have my picture box that i had in it information for this example stations names , but in some cases i have a plenty of station that wont fit all in the same picture box , so what i need is to scroll and go to the right and read the whole information ... that's why i need scroll in my picture box .. thank u ..

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          I have no idea how your putting this information in the picturebox, but there's an easy solution. Resize the picturebox to as big as you need it, then put it inside a Panel control and set the Panel's AutoScroll property to True. Done!

          Dave Kreskowiak Microsoft MVP - Visual Basic

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups