Skip to main content

TcxCustomTrackBarProperties.Min Property

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

Declaration

property Min: Integer read; write; default 0;

Property Value

Type Default
Integer 0

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 Min property cannot be set to a value greater than the Max 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 Min property is 0.

See Also