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. .NET (Core and Framework)
  4. How to make TrackBar vertical?

How to make TrackBar vertical?

Scheduled Pinned Locked Moved .NET (Core and Framework)
tutorialquestion
8 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.
  • Z Offline
    Z Offline
    Zhendalf
    wrote on last edited by
    #1

    By default TrackBar is horisontal. Is there any way to make it vertical?

    D 1 Reply Last reply
    0
    • Z Zhendalf

      By default TrackBar is horisontal. Is there any way to make it vertical?

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

      The TrackBar doesn't have that option. You'd have to either find a control that does this for you, or make your own.

      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      P 1 Reply Last reply
      0
      • D Dave Kreskowiak

        The TrackBar doesn't have that option. You'd have to either find a control that does this for you, or make your own.

        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        P Offline
        P Offline
        pbraun
        wrote on last edited by
        #3

        Dave Kreskowiak wrote:

        The TrackBar doesn't have that option.

        I just checked with .Net 2.0 and it does have the option to make a track bar horizontal or vertical. Just change the "Orientation" property from horizontal to Vertical. Phil

        D 1 Reply Last reply
        0
        • P pbraun

          Dave Kreskowiak wrote:

          The TrackBar doesn't have that option.

          I just checked with .Net 2.0 and it does have the option to make a track bar horizontal or vertical. Just change the "Orientation" property from horizontal to Vertical. Phil

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

          Whoops! I was looking at the .NET 1.1 version.

          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

          Z 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Whoops! I was looking at the .NET 1.1 version.

            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            Z Offline
            Z Offline
            Zhendalf
            wrote on last edited by
            #5

            Yeah, thanks, but it didn't help. The orientation of arrow is to right, and I want to left.

            P 1 Reply Last reply
            0
            • Z Zhendalf

              Yeah, thanks, but it didn't help. The orientation of arrow is to right, and I want to left.

              P Offline
              P Offline
              pbraun
              wrote on last edited by
              #6

              Change the TickStyle property from BottomRight to TopLeft. Phil

              Z 1 Reply Last reply
              0
              • P pbraun

                Change the TickStyle property from BottomRight to TopLeft. Phil

                Z Offline
                Z Offline
                Zhendalf
                wrote on last edited by
                #7

                Thanks a lot! :)

                P 1 Reply Last reply
                0
                • Z Zhendalf

                  Thanks a lot! :)

                  P Offline
                  P Offline
                  pbraun
                  wrote on last edited by
                  #8

                  Your welcome. Just playing with the properties in the controls helps one to learn the controls and what they can do well. Phil - I play with everything, scientists call it "Experimentation".

                  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