Vcl.RibbonActnCtrls.TRibbonComboBox.NumbersOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NumbersOnly;

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