Hi!
I'm using UltraTrack bar in my application, but I want to hide the Track of the TrackBar so the TrackBar Thumb is only visible.
Is this possible?
If it is not possible, is it possible to set the color of the Track the same as its background?
Try setting TrackThickness to 0.
I tried that but that did not seem to work.
The following worked for me:
1. ViewStyle = Standard
2. UseAppStyling = False
3. UseOsThemes = False
4. Set the TrackAppearance BackColor, BorderColor and BorderColor3DBase to the color of my form.
Hopefully this information can help someone else in a similar situation.
You must be applying some other property setting that prevent the TrackThickness from working, then. All I did was put a new UltraTrackBar control on a form and set TrackThickness to 0 and it worked fine for me.
Hi....
i m using ultra trackbar control in my project.when i move the thumb of the track bar,the value is getting increased by 1 by default and if i increase or decrease with the + and - sign the value is getting changed with the small change value.
My question is. if i move the thumb of the track bar it should get increase or decrease by Small change value only ,is it possible?
Hi,
It sounds like you want the thumb to snap to certain values when dragging. To do that, you could handle the ValueObjectChanging event on the TrackBar. There's an OldValue and a NewValue passed in to the event. So you can set the NewValue to whatever you want - such as the closest value that is evenly divisible by the SmallChange.
Thanks for your post.
I tried this event, by passing the New value, but i was not getting excatly wat i wanted. Now ActiveX control Silder is used to so this, wen i scroll it.it increase by 5 or decrease by 5 only. ie 5,10,15 ...... Now i want to replace this control with ultra trackbar, if possible please post any example code, it can help me at lot.
Thank you.
I got my output, Thanks.
Actully i used some numeric calculation.