Skip to main content

TdxCustomRangeTrackBarProperties.OnDrawRangeMaxThumb Event

Enables you to custom paint the thumb that indicates the selected range’s upper bound.

Declaration

property OnDrawRangeMaxThumb: TcxDrawThumbEvent read; write;

Remarks

Range track bar editors provide two events (OnDrawRangeMinThumb and OnDrawRangeMaxThumb) that enable you to custom paint thumbs used for range selection. These events are similar to the OnDrawThumb event available in track bar editors (TcxTrackBar and TcxDBTrackBar) and zoom track bar editors (TdxZoomTrackBar and TdxDBZoomTrackBar).

To custom paint the thumbs in a range track bar editor, do the following:

Refer to the OnDrawThumb and OnGetThumbRect event descriptions for information about event parameters and a code example on how to handle the events.

See Also