Hello,
I'm having two particular problems with the WinGrid and a TrackBarControl
1) If the row is selected the TrackBar is covered by the blue foreground color, hence not showing that a TrackBar control is available (which is confusing for the users)
2) If the row is unselected the TrackBar column not shown.
HI Mike,
Thanks for your answer, I do need the "Minimum" and "Maximum" value to be tied to a trackbar (I should've added one more), so when you move the trackbar your value changes and the other way around.
Thanks for your ongoing support & help!
Oh, I just realize that your other columns are "Minimum" and "Maximum". Do you need the min and max to vary for each row? That's a little trickier, but it can be done. If that's what you need, let me know and I will modify your sample to show you how.
Hi Fernando,
The Minimum, Maximum, and the value of the trackbar all come from the grid, not the UltraTrackbar control. It wouldn't make sense for the Value to come from the control, since it varies from row to row.
Anyway, what you need to do is set the MinValue and MaxValue on the column. The column's DataType needs to be Integer, BTW, since that's what the UltraTrackBar's value uses.
Mike I also tried to add it via this line testTrackerColumn.EditorComponent = new UltraTrackBar() { MaxValue = 50, MinValue = 0, Value = 5 }; to no avail. The tracker is not set to the value it should nor is showing the tracker, please see attached screenshot.
Thanks for your help!
Hi Mike,
Thanks for the answer it works. However I'm still facing issues. I'm trying to set the min and max for the trackbar and it seems like is not working when setting the value. I'm wondering how I'm going to sync the trackbar and the settings on the textbox to match up, since there seems to be only an instance of the trackbar that is being shared among all rows, is this right?
Thanks!