Questions tagged [trackbar]

a graphical widget in Winforms, also called a slider in other environments.

A track bar is a graphical widget in in which the user sets a value by moving a cursor on a line. Other environments such as jQuery call this control .

Resources

205 questions
9
votes
5 answers

Component (similar to trackbar) to enter a range of values

I need a component for entering ranges. I was thinking along the lines of a trackbar with two markers. Are there "native Delphi" components that are meant for this purpose or that can simulate it easily?
Svein Bringsli
  • 5,640
  • 7
  • 41
  • 73
9
votes
2 answers

TTrackBar with custom positions?

I am trying to duplicate the behaviour of PAINT application in Win 7 zoom track bar: (I know it's a common track bar control) The 100% is located in the center. and it has 11 available positions: etc... 12.5%, 25%, 50%, 100%, 200%, 300%, 400%,…
Vlad
  • 1,383
  • 14
  • 29
7
votes
8 answers

Track Bar Only fire event on final value not ever time value changes

I am working on a pretty basic C# visual studio forms application but am having some issue getting the track bar to act as I want it to so hoping someone in the community might have a solution for this. What I have is a pretty basic application…
Stewart Dale
  • 361
  • 1
  • 5
  • 12
7
votes
2 answers

Many sliders with one callback

Is it possible to create some sliders and make one callback for all of them? I am creating a window, in which i would like to set about 10 parameters. It would be much better to have 1 callback function for all of them instead of 10…
user1762979
  • 71
  • 1
  • 4
6
votes
2 answers

How do I label the minimum, maximum, center ticks in a .net 3.5 trackbar?

I need to set a voltage in an application. I'm used to using sliders in Labview, and would like to replicate that using a C# program. I've figured out that the track bar only does integer values, so rather than have the range go from -5 to 5 using…
Curt
  • 1,214
  • 6
  • 16
  • 21
6
votes
1 answer

Adding a TrackBar in ToolStrip

I am trying to add a TrackBar in my ToolStrip. I have found this code somewhere on the net but I am not sure how to use it as it should be compiled maybe? Code /// /// Adds trackbar to toolstrip stuff /// [ …
Dumbo
  • 13,555
  • 54
  • 184
  • 288
6
votes
1 answer

Two TrackBar mirror

I would like to know how to make my second trackbar.position mirror in the opposite direction of trackbar1.position. eg. Range from 1 to 100. So When TrackBar1.Position := 2, then trackbar2.Position := 99 Regardless of which way the trackbars…
Ben
  • 565
  • 1
  • 3
  • 11
5
votes
2 answers

C# /windows forms: linking trackbar and textfield with a factor

linking a trackbar and a textfield is very easy in windows forms. it is like this: textBox.DataBindings.Add("Text", trackBar, "Value"); the problem is, that trackbars only allow for integer values but i want to have floating point values. so i…
some
5
votes
5 answers

Trackbar Background in a TabControl

I have a TrackBar control on a TabPage inside a TabControl. The background of the TrackBar is being drawn in grey while the TabPage is being drawn as white. There is no way to set the BackColor property of the TrackBar to transparent, and I can't…
Jon Tackabury
  • 47,710
  • 52
  • 130
  • 168
5
votes
2 answers

WinForms Volume Slider/Trackbar User Control

I'm looking for a trackbar-like user/custom control to use in my .NET 2.0 WinForms app. Note: I'm NOT asking how to control the volume in a WinForms app. Anyone knows of a nice looking custom painted slider/trackbar control that could be used in my…
Serge Wautier
  • 21,494
  • 13
  • 69
  • 110
5
votes
2 answers

Size/length of a trackbar name in opencv

When I try the following code: namedWindow("My Window"); createTrackbar("Crop my picture", "My Window", &crop, 239); the Track bar name that it is created in "My Window" looks like this: "Crop n...re" How can i do to show the complete name? Thanks
ssr
  • 53
  • 1
  • 4
5
votes
0 answers

How could I change the order of trackbars in OpenCV?

By using cvCreateTrackbar(), I create some trackbars, but these trackbars are disordered. And I can't find any function in OpenCV to change the order. So...How could I change the order of trackbars in OpenCV? (And forgive my poor English.) It seems…
Definiter
  • 75
  • 5
5
votes
1 answer

How to implement trackbar like this image - Android?

Please help me implement this view. Clicking circles brings up mouse over of actual value of min/max/target. Bar length don't according to any thing. But bar color's according to target circle. Thanks a lot
Leo Nguyen
  • 614
  • 1
  • 9
  • 23
4
votes
1 answer

Values on trackbar

Quick question; In C#, Windows Forms, is it not possible, to have a System.Windows.Forms.TrackBar show all its values, next to its ticks? I have not been able to find any way of doing this, which suprises me abit. Is there another way, to get this…
Nicolai
  • 2,835
  • 7
  • 42
  • 52
4
votes
1 answer

OpenCV Python: Blur image using trackbar

I'd like to control the blur of an image by using a trackbar. The given MWE imports a picture with a trackbar that sets the aperture linear size (ksize) which has to be one or a positive odd number. Strangely getTrackbarPos returns a negative number…
Philipp
  • 323
  • 4
  • 19
1
2 3
13 14