TdxCustomRangeTrackBar.Range Property
Specifies the selected range of values on the editor’s track bar.
Declaration
property Range: TdxTrackBarRange read; write;
Property Value
Type |
---|
TdxTrackBarRange |
Remarks
The range of values is specified by the Range.Min and Range.Max properties, which specify the lower and upper bounds of the range. The specified range is visualized using the selection bar, with two thumbs positioned at its ends (respective bounds).
End-users can change the thumb position (and thus the editor’s edit value) using any of the following methods:
Drag the thumb with the mouse;
Click the track bar at the required position. The thumb that is closer to this position will move to it;
Press the arrow keys, or the Page Up, Page Down, Home, or End key when the track bar editor is focused to move the thumb that is closer to the editor’s right edge in a horizontally oriented editor (or the bottom edge in a vertically oriented editor). Pressing any of these keys while holding down the Shift key moves another thumb. Pressing these keys while holding down the Ctrl and Shift keys moves both of the thumbs, maintaining the range length.
The selection bar is displayed if the following conditions are met:
The track bar is visible (the editor’s Properties.ShowTrack property is set to True);
The editor’s Properties.ShowSelection property is set to True.
Use the editor’s Properties.SelectionColor property to customize the color of the selection bar.
Note
The inherent Properties.SelectionStart and Properties.SelectionEnd properties have no effect in range track bar editors.