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

Specifies the maximum value that can be represented by the track bar editor.

#Declaration

Delphi
property Max: Integer read; write; default 10;

#Property Value

Type Default
Integer 10

#Remarks

The Min and Max properties specify the lower and upper bounds of values that can be displayed by the track bar editor. For instance, if you want to use track bar editors to modify the red, green and blue channels of a color, you need to set the Min and Max properties of the editors to 0 and 255 respectively. Note that the Max property cannot be set to a value less than the Min property value, and vice versa. Attempts to do so will set both properties to the new value.

The editor’s Position property specifies the current thumb’s position. This property can be set only to values that fall within the range specified by the Min and Max properties.

The default value of the Max property is 10.

See Also