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
helptutorialquestion
12 Posts 3 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 .. can anyone help me with how to use ScrollBars ? and how to put it with picturebox ? any samples ? thxx ...

    D 1 Reply Last reply
    0
    • M microuser_2000

      hellow to all .. can anyone help me with how to use ScrollBars ? and how to put it with picturebox ? any samples ? thxx ...

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

      It would help if you mentioned what you want these scroll bars to do...

      Dave Kreskowiak Microsoft MVP - Visual Basic

      M 1 Reply Last reply
      0
      • D Dave Kreskowiak

        It would help if you mentioned what you want these scroll bars to do...

        Dave Kreskowiak Microsoft MVP - Visual Basic

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

        ok , i have a really width photo that i would like to show , the photo in width do not fit the screen so what i am trying to do is to have a scroll that when i go to the right i can see the rest of the photo :) thank u in advance , for anyhelp ..

        S D 2 Replies Last reply
        0
        • M microuser_2000

          ok , i have a really width photo that i would like to show , the photo in width do not fit the screen so what i am trying to do is to have a scroll that when i go to the right i can see the rest of the photo :) thank u in advance , for anyhelp ..

          S Offline
          S Offline
          Stephen McGuire
          wrote on last edited by
          #4

          There is an article about this here: http://www.codeproject.com/bitmap/bmpscroll.asp[^] Not VB.NET though. May point you in the right direction... Steve

          1 Reply Last reply
          0
          • M microuser_2000

            ok , i have a really width photo that i would like to show , the photo in width do not fit the screen so what i am trying to do is to have a scroll that when i go to the right i can see the rest of the photo :) thank u in advance , for anyhelp ..

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

            Easy. Put a Panel on your form, then put a PictureBox in the Panel. Make sure the Panel's AutoScroll property and the PictureBox AutoSize properties are set to True.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            S M 2 Replies Last reply
            0
            • D Dave Kreskowiak

              Easy. Put a Panel on your form, then put a PictureBox in the Panel. Make sure the Panel's AutoScroll property and the PictureBox AutoSize properties are set to True.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              S Offline
              S Offline
              Stephen McGuire
              wrote on last edited by
              #6

              Woah! Nice one Dave! Steve

              D 1 Reply Last reply
              0
              • S Stephen McGuire

                Woah! Nice one Dave! Steve

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

                I had to make one of these for an application I wrote a while back. Turned it into it's own control in about 10 minutes and now it sits in the GAC and has it's cozy little place in my Toolbox.

                Dave Kreskowiak Microsoft MVP - Visual Basic

                S 1 Reply Last reply
                0
                • D Dave Kreskowiak

                  I had to make one of these for an application I wrote a while back. Turned it into it's own control in about 10 minutes and now it sits in the GAC and has it's cozy little place in my Toolbox.

                  Dave Kreskowiak Microsoft MVP - Visual Basic

                  S Offline
                  S Offline
                  Stephen McGuire
                  wrote on last edited by
                  #8

                  I think I will do the same! A simple but great idea! Steve

                  1 Reply Last reply
                  0
                  • D Dave Kreskowiak

                    Easy. Put a Panel on your form, then put a PictureBox in the Panel. Make sure the Panel's AutoScroll property and the PictureBox AutoSize properties are set to True.

                    Dave Kreskowiak Microsoft MVP - Visual Basic

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

                    Hey Dave , i wanna remind u that the photo that i am trying to show is going to be biger than 1024 pix in width .. thxx for any help ..

                    M D 2 Replies Last reply
                    0
                    • M microuser_2000

                      Hey Dave , i wanna remind u that the photo that i am trying to show is going to be biger than 1024 pix in width .. thxx for any help ..

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

                      forget about the shit that i had just said it worked fine for me :)

                      D 1 Reply Last reply
                      0
                      • M microuser_2000

                        forget about the shit that i had just said it worked fine for me :)

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

                        Oops!

                        Dave Kreskowiak Microsoft MVP - Visual Basic

                        1 Reply Last reply
                        0
                        • M microuser_2000

                          Hey Dave , i wanna remind u that the photo that i am trying to show is going to be biger than 1024 pix in width .. thxx for any help ..

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

                          So what?

                          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