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

TdxCustomZoomTrackBarProperties.Max Property

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

#Declaration

Delphi
property Max; default 500;

#Property Value

Type Default
Integer 500

#Remarks

The Min and Max properties specify the lower and upper bounds of values that can be displayed by the zoom track bar editor. For instance, if you want to use track bars to modify the red, green and blue channels of a color, you need to set the Min and Max properties of the controls 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 slider’s position. This property can be set only to values that fall within the range specified by the Min and Max properties.

Note

The Max property cannot be set to a value less than 100 to allow the zoom track bar editor to properly display its second scale.

The default value of the Max property is 500.

See Also