|
-
Jul 1st, 2007, 11:59 AM
#1
Thread Starter
Hyperactive Member
[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.
-
Jul 1st, 2007, 12:34 PM
#2
Re: [2005] Resize TrackBar
 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
-
Jul 1st, 2007, 12:52 PM
#3
Thread Starter
Hyperactive Member
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?
-
Jul 1st, 2007, 03:34 PM
#4
PowerPoster
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.
-
Jul 1st, 2007, 03:50 PM
#5
Thread Starter
Hyperactive Member
Re: [2005] Resize TrackBar
Now I'm embarrassed.
That works.
Thank you SuperSparks.
-
Jul 1st, 2007, 04:01 PM
#6
PowerPoster
Re: [RESOLVED] [2005] Resize TrackBar
You're very welcome
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|