Unit 'StdCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]


Indicates if the edit control accepts numeric values only.


Source position: stdctrls.pp line 868

public property TCustomEdit.NumbersOnly : Boolean
  read GetNumbersOnly
  write SetNumbersOnly
  default False;


NumbersOnly is a Boolean property which controls whether the edit control is limited to numeric characters when edited. The default value for the property is False.

Changing the property value causes the widgetset class to be notified when a handle has been allocated for the control.

NumbersOnly is used in CreateParams to include the ES_NUMBER edit style in the creation parameters for the control when set to True.

See also



Ensures the required creation parameters are set for handle creation.

CT Web help

CodeTyphon Studio