[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomUpDown.Min

The smallest value allowed in the Position property.

Declaration

Source position: comctrls.pp line 1994

protected property TCustomUpDown.Min : SmallInt
  read FMin
  write SetMin;

Description

Mix is a SmallInt property which contains the smallest value allowed in the Position property. The default value for the property is 0. A new value assigned to the property is also applied to Position if it is smaller than the new value in Min. 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

TCustomUpDown.Max

  

The largest value allowed in the Position property.

TCustomUpDown.Position

  

The current position (or value) for the control as a SmallInt type.

TCustomUpDown.Click

  

Handles a mouse click on a speed button in the control.

TCustomUpDown.AdjustPos

  

Applies changes to the control value using its increment and decrement buttons.


Version 4.0 Generated 2025-05-03 Home