Telerik Forums
UI for WinForms Forum
1 answer
35 views
Hello, 

I am trying to get the Location in Pixels of each of the Ranges Indicators  I defined in a RadTrackBar.
How can I make this happen?
Dinko | Tech Support Engineer
Telerik team
 answered on 26 Sep 2023
3 answers
60 views

Hi, I was wondering how I could specify my own images (from my project resource file) for the buttons in a vertical track bar. Is this possible? if so how?

I probably need to do this at run-time due as the user is able to change themes which I suspect will cause things to go wrong.

 

Regards

Toby

 

Nadya | Tech Support Engineer
Telerik team
 answered on 08 Jan 2021
2 answers
181 views

I am struggling with an feature that I'd like to implement.

Basically, I'd like a visual cue that indicates the current value of the range as end user changes the value of the range.

My TrackBar has 1440 minutes and I'd like to display what minute they're on without it being guess work.

I attached a screenshot of my implementation of the track bar.

Ideally, I'd like to display a label underneath the TrackbarThumbElement that would update as the value updates and then disappear. Any ideas how I might be able to update the UI with the current value of the range as the end user is manipulating the control?

James
Top achievements
Rank 1
 answered on 04 Nov 2020
1 answer
125 views

In simple mode, binding works correctly. 

.............. 

//Define property

private float start;
    public float Start
    {
        get => start;
        set
        {
            if (value == Start) return;
            start = value;
            OnPropertyChanget("Start");
        }
    }

..............................................

//Binding

  radTrackBar1.DataBindings.Add("Value", Data, "Start", true, DataSourceUpdateMode.OnPropertyChanged);
  radTrackBar2.DataBindings.Add("Value", Data, "Start", true, DataSourceUpdateMode.OnPropertyChanged);

.........................................................

How can I use binding in range mod?

   radTrackBar1.Ranges[0].Start = 1;
   radTrackBar1.Ranges[0].End = 50;
   radTrackBar2.Ranges[0].Start = 1;
   radTrackBar2.Ranges[0].End = 50;

//Define property ??????????????????????

//Binding ??????????????????????????

Thanks!

 

 

Dimitar
Telerik team
 answered on 20 Mar 2019
4 answers
131 views
Hi everyone,

I use a RadTrackBar in my WinForm application and when the user move the trackbar, I change a value in a RasSpinEditor. My problem is that i do so at the ValueChanged event of my RadTrackBar wich is fired only when i release the mouse button. This doesn't correspond to what we are looking for. Is there another event which allow to change my RadSpinEditor value during the move of the radTrackBar ? I need to know the value of the TrackBar, that's why i use the ValueChanged event for know, but the value change only when I release the mouse button, can we change that comportment ?

Thanks,

[Nean]
Hristo
Telerik team
 answered on 28 Jan 2019
5 answers
176 views

I am currently facing two issues using the RadTrackBar control.

First issue:

When the width of the control is smaller then 100px, the text and graphics bar are cut off (see image).

For this reason the control is not usable with a smaller size then 100px

 

Second issue:

When setting label style and tick style to none the control height is automatically set to 16px.

When switching to Material theme, the button shown on mousedown is larger then these 16px and the image is cut-off.

 

For issue 2 there is a workaround, setting minimum size of the control will "fix" this but is there a solution for issue 1?

 

Best regards

Patrick Vossen

Patrick
Top achievements
Rank 1
 answered on 07 Sep 2018
6 answers
64 views

Is there away to use the tracking component to track between 2 values.  What I'm trying to mimic is a video time status bar.  I want the user to be able to set the IN and OUT between the start time and the end time.  Then when they play the video it will have a current status bar between the IN and OUT that shows the current time of the clip that is playing.

I attached an image of what Adobe premiere looks like. I know it can't look like this but would love to be able to do something like it that would have a tracker that has a min of 0 and max of lets say 60 (secs) then a user set the IN at 4 (sec) and OUT at 20 (sec) then when they play the thumb will move between those 2 numbers.  Even if it's just a visual background range color that is set between those 2 numbers it would work.  I just need to make it so that it's visual that the user selected those 2 ranges.

Hope this makes sense.

Brett
Top achievements
Rank 2
 answered on 15 Aug 2018
2 answers
75 views

Hi.  I'm looking to use the RadTrackBar as a selector for hours.  For example, far left would be 0700 (7am) and far right would be 1400 (2pm).

I cannot figure out how to disable/turn off/colorize the TrackBarIndicatorElement behind the slider.  I want just the bar with the slider.  As the user moves it, there should not be any color displayed in the bar.  Is that possible?

Elijah
Top achievements
Rank 1
 answered on 09 Nov 2017
1 answer
71 views

Hello all together!

 

I am currently experiencing the below issues with RadTrackBar.

 

TrackBar.Minimum is set to 50.

TrackBar.Maximum is set to 150.

TrackBar.Value is set to 100.

 

I guess, everybody should now expect the track bar to move the knob in the exact middle of the control. But it simply doesn't. When looking at the track bar's minimum, maximum and value properties during FormLoad event, I discovered that the minimum changed to 19.

What I did next was searching for the number in the designer class of the respective form, assuming that Visual Studio somehow messed it up as it is always doing from time to time. But nothing found here. Setting the minimum value again in FormLoad fixes the problem, but this should not be the default approach when working with a RadTrackBar. So this must be a bug, right?

Dimitar
Telerik team
 answered on 17 Aug 2017
4 answers
155 views

In attempting to make use of this control there are a number of series issues with it.

Firstly, when attempting to add ranges to the range collection via the properties in visual studio 2017, this doesn't work.

What happens is the ranges you add are created in the Designer.cs of the form you are working on, but are not associated with the TrackBar you created them from.  (see attachment 1.) If you click the ranges collection again after adding one of the ranges, it naturally shows up empty. So currently the only way to add ranges is to do so programmatically. 
Secondly, performance issues, setting the maximum of of the trackbar to 1000+ and it becomes unreasonably slow, and unresponsive.

Thirdly, Assigning a value that exceeds ranges of the minimum or maximum, results in a popup message stating "The Value should be between minimum and maximum" no exception is thrown. (this looks like it was supposed to be a design time response) 

Setting a range to the start and end points to the minimum and maximum values of the trackbar, often results in one of the thumbs not being visible on the screen after loading. (see second attachment) 

I've seen elsewhere on the forum that the suggested performance fix was to apply basically scaling to the trackbar to reduce the number of elements that it needs to render, but when using the control to say track the position of media in seconds, scaling doesn't really work. 

 

 

Dimitar
Telerik team
 answered on 02 Aug 2017
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
ContextMenu
Spreadsheet
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?