TdxCustomZoomTrackBarProperties.Max Property
Specifies the maximum value that can be represented by the zoom track bar editor.
Declaration
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.