[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The TEdit widget is a one-line text editor

Declaration

Source position: edit.inc line 55

type TEdit = class(TCustomEdit)

published

  property CanExpandWidth;

  

  property Enabled;

  

  property PasswordChar;

  

Character to use when masking the text input

  property Text;

  

  property OnChange;

  

  property FontColor;

  

end;

Inheritance

TEdit

  

The TEdit widget is a one-line text editor

|

TCustomEdit

  

Base Edit component with no published properties.

|

TWidget

  

The TWidget class is the base class of all user interface objects.

|

TComponent

?

TObject

Description

The TEdit widget is a one-line text editor. A TEdit allows the user to enter and edit a single line of plain text.

By changing the PasswordChar property of a TEdit, it can also be used as a "write-only" field, for inputs such as passwords.

See also

TEdit.PassworChar