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

TCustomEdit

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

Base Edit component with no published properties.

Declaration

Source position: edit.inc line 23

type TCustomEdit = class(TWidget)

protected

  procedure Paint(); override;

  

  function ProcessEvent(); override;

  

  procedure CalcSizes; override;

  

  procedure EvKeyPressed(); override;

  

  procedure EvKeyChar(); override;

  

  procedure EvTextChanged; override;

  

  property CanExpandWidth;

  

  property Cursor;

  

  property PasswordChar: Char; [rw]

  

  property CursorPos: Integer; [rw]

  

Position of cursor in the edit widget

  property OnChange: TNotifyEvent; [rw]

  

  property FontColor: TColor; [rw]

  

  procedure SetText(); override;

  

public

  procedure Create();

  

end;

Inheritance

TCustomEdit

  

Base Edit component with no published properties.

|

TWidget

  

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

|

TComponent

?

TObject

See also

TEdit

  

The TEdit widget is a one-line text editor