FMX.SpinBox.TSpinBox.Increment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Increment: Single read GetIncrement write SetIncrement stored HorzIncrementStored nodefault;

C++

__property float Increment = {read=GetIncrement, write=SetIncrement, stored=HorzIncrementStored};

Properties

Type Visibility Source Unit Parent
property published
FMX.SpinBox.pas
FMX.SpinBox.hpp
FMX.SpinBox TSpinBox

Description

Specifies the numerical value that will be used as an increment or decrement factor for this spin box.

For instance, if you set the Increment value to 5, then pressing the plus (increment) button will increase the display value by 5. Pressing the minus (decrement) button will decrease the display value by 5.

However, if, for instance, Value is 4, Increment is 5, and Min is 0 and you press the minus (decrement) button, the value will become 0. In a similar manner, if, for instance, Value is 8, Increment is 5, and Max is 10 and you press the plus (increment) button, the value will become 10.

See Also