Vcl.RibbonActnCtrls.TRibbonComboBox.NumbersOnly
Delphi
property NumbersOnly: Boolean read FNumbersOnly write SetNumbersOnly default 0;
C++
__property NumbersOnly = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonComboBox |
Description
Allows only numbers to be typed into the text edit.
Vcl.RibbonActnCtrls.TRibbonComboBox.NumbersOnly inherits from Vcl.StdCtrls.TCustomEdit.NumbersOnly. All content below this line refers to Vcl.StdCtrls.TCustomEdit.NumbersOnly.
Allows only numbers to be typed into the text edit.
Use NumbersOnly to prohibit entry of non-numeric characters in the textfield
. Note, however, that a user can paste non-numeric characters in the textfield
even when this property is set.
Code Examples