TdxCustomRangeTrackBarProperties Class
Serves as the base class for classes that contain range track bar settings.
Declaration
TdxCustomRangeTrackBarProperties = class(
TcxCustomTrackBarProperties
)
Remarks
This class extends its ancestor classes with properties that allow you to customize the appearance and behavior of range track bar editors (TdxRangeTrackBar and TdxDBRangeTrackBar). Most of these properties are identical to those found in track bar editors (TcxTrackBar and TcxDBTrackBar) (see TcxCustomTrackBarProperties for reference) and are simply initialized with the values that underpin the range track bar editor’s design. In addition, the TdxCustomRangeTrackBarProperties class introduces members that allow you to:
Switch the visibility of the selection bar (ShowSelection);
Specify how the editor’s edit value is calculated (EditValueFormat and Delimiter);
Calculate the edit value based on the currently selected range (CalculateEditValueByRange);
Obtain the range that corresponds to a specific edit value (CalculateRangeByEditValue);
Custom paint thumbs (OnDrawRangeMinThumb and OnDrawRangeMaxThumb);
Dynamically control the visibility and content of a hint window shown in response to thumb position changes and mouse hover events (OnGetPositionHint).
The TdxCustomRangeTrackBarProperties class implements the essential functionality required by range track bar editors. The derived TdxRangeTrackBarProperties class simply publishes the inherited properties and events.
A TdxCustomRangeTrackBarProperties object is referenced by the TdxCustomRangeTrackBar.Properties property.