Sign in Join
FPDoc Onlineexperiment

TUpDown.Increment property

Member of TUpDownpublishedIn unit ComCtrls

The amount by which Position is increased or decreased for each button click.

Declaration

pascal
property Increment:;

Description

Increment is an Integer property which contains an amount by which the value in Position is increased or decreased when a button is clicked on the control. It is also used to apply cursor Up or Down keys pressed when the Associate control has focus. It is specified as a positive value, but is negated when the Down button is clicked or the Down arrow key is pressed.

The default value for the property is 1. Changing the property value causes the widgetset class to be updated when its handle has been assigned.

Increment is used in the Click method when the property value is validated and range limited to the settings in Min and Max. It is also used in the AdjustPos method called when key down events are handled for the Associate control.

This description is the one of ComCtrls.TCustomUpDown.Increment.

See also

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