Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTrackBarProperties.ThumbWidth Property

Specifies the width of the track bar’s thumb in pixels.

#Declaration

Delphi
property ThumbWidth: Integer read; write; default dxTrackBarDefaultThumbWidth;

#Property Value

Type Default
Integer dxTrackBarDefaultThumbWidth

#Remarks

The track bar editor gives you the ability to set the height and width of the track bar’s thumb manually using the ThumbWidth and ThumbHeight properties. Note however, that this can be done only if the AutoSize property value is False. Otherwise the dimensions of the track bar’s thumb are calculated automatically with respect to the track bar width (the TrackSize property).

Note that you cannot assign values less than 4 to the ThumbWidth property.

Images below show examples of the ThumbWidth property settings.

Value

Example

(horizontal orientation)

Example

(vertical orientation)

10

15

The default value of the ThumbWidth property is 7.

See Also