Results 1 to 6 of 6

Thread: [RESOLVED] [2005] Resize TrackBar

  1. #1

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Resolved [RESOLVED] [2005] Resize TrackBar

    Hi.
    I'm now moving from VB6 to VB2005.
    I would like to know if it is possible to set the height of a trackbar less then 45px (just like in vb6).
    Thank you.

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] Resize TrackBar

    Quote Originally Posted by RS_Arm
    Hi.
    I'm now moving from VB6 to VB2005.
    I would like to know if it is possible to set the height of a trackbar less then 45px (just like in vb6).
    Thank you.
    Hi,

    Here's a link about the Trackbar property;

    http://msdn2.microsoft.com/en-us/lib...ht(vs.80).aspx

    Hope it helps,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Re: [2005] Resize TrackBar

    Thanks for the link.
    When I past the declaration (Public Overridable Property Height As Single), hiting Enter, what get is this code:
    Code:
        Public Overridable Property Height() As Single
            Get
    
            End Get
            Set(ByVal value As Single)
    
            End Set
        End Property
    What should I do next?

  4. #4
    PowerPoster SuperSparks's Avatar
    Join Date
    May 2003
    Location
    London, England
    Posts
    265

    Re: [2005] Resize TrackBar

    In Design View, if you set the Trackbar's Autosize property to False, then you will be able to set it to any height that you like.
    Nick.

  5. #5

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Re: [2005] Resize TrackBar

    Now I'm embarrassed.
    That works.
    Thank you SuperSparks.

  6. #6
    PowerPoster SuperSparks's Avatar
    Join Date
    May 2003
    Location
    London, England
    Posts
    265

    Re: [RESOLVED] [2005] Resize TrackBar

    You're very welcome
    Nick.

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