[Overview][Classes][Procedures and functions][Index] | Reference for unit 'Spin' (#lcl)

# TCustomSpinEdit.MinValue

Minimum value allowed for the spin edit control.

## Declaration

Source position: spin.pp line 162

`public property TCustomSpinEdit.MinValue : Integer read GetMinValue write SetMinValue default 0;`

## Description

MinValue contains the minimum value allowed for the spin edit control. It is used, along with MaxValue, to determine the range of values allowed in the Value property.

When MinValue and MaxValue have the same value, or MaxValue is smaller than MinValue, the range limit is not enforced. This allows any value to be assigned to the control.

## See also

TCustomSpinEdit.MaxValue |  | Maximum value allowed for the spin edit control.
TCustomSpinEdit.Value |  | The value for the spin edit control.
TCustomSpinEdit.Increment |  | The value by which the value of the control should be increased/decreased when the user clicks one of the arrows or one of the keyboard up/down arrows.
TCustomSpinEdit.GetLimitedValue |  | Gets the value for the control limited the range in MinValue and MaxValue.