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.ThumbHeight Property

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

#Declaration

Delphi
property ThumbHeight: Integer read; write; default dxTrackBarDefaultThumbHeight;

#Property Value

Type Default
Integer dxTrackBarDefaultThumbHeight

#Remarks

There are two ways to control the size of the track bar’s thumb:

  • Set the AutoSize property to True. In this case, dimensions of the thumb will be calculated automatically with respect to the track bar width (the TrackSize property). Values of the ThumbWidth and ThumbHeight properties will be ignored in this case.

  • Set the AutoSize property to False and specify the thumb’s dimensions manually using the ThumbHeight and ThumbWidth properties.

Note that you cannot assign values less than 10 to the ThumbHeight property.

Images below show examples of changing the ThumbHeight property value.

Value

Example

(horizontal orientation)

Example

(vertical orientation)

20

30

The default value of the ThumbHeight property is 18.

See Also