FMX.NumberBox.TNumberBox
Delphi
TNumberBox = class(TCustomEditBox)
C++
class PASCALIMPLEMENTATION TNumberBox : public Fmx::Editbox::TCustomEditBox
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.NumberBox.pas FMX.NumberBox.hpp |
FMX.NumberBox | FMX.NumberBox |
Description
Use the TNumberBox class when you need a box that allows typing only numbers.
The content of the number box depends on what the user types.
Change the value of DecimalDigits from the Object Inspector at the left to change the length of the number allowed to be typed in the TNumberBox object.
Change the value of the Max item from the Object Inspector at the left to change the maximum value the TNumberBox object allows to be typed in.
Change the value of the Min item from the Object Inspector at the left to change the minimum value the TNumberBox object allows to be typed in.