Sign in Join
FPDoc Onlineexperiment

TCustomFloatSpinEdit.MaxValue property

Member of TCustomFloatSpinEditpublicIn unit Spin

Maximum value allowed in the spin edit control.

Declaration

pascal
property MaxValue: Double read FMaxValue write SetMaxValue stored MaxValueStored;

Description

MaxValue is a Double property which contains the maximum value allowed for the spin edit control. It is used, along with MinValue, 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.

Changing the value for the property causes the range limits to be re-applied to Value by calling the GetLimitedValue method. A pending update is also applied to the widgetset class instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.