Sign in Join
FPDoc Onlineexperiment

TCustomUpDown.Max property

Member of TCustomUpDownprotectedIn unit ComCtrls

The largest value allowed in the Position property.

Declaration

pascal
property Max: SmallInt read FMax write SetMax default 100;

Description

Max is a SmallInt property which contains the largest value allowed in the Position property. The default value for the property is 100. A new value assigned to the property is also applied to Position if it is larger than the new value in Max. The new value is also applied to the widgetset class instance when its handle has been assigned.

Values in Min and Max are used in the Click method when a new value for Position is validated and range limited. It is also used in AdjustPos when key down events are handled for the control.

See also

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