Class tedit
Unit
Declaration
type tedit = class(tcustomedit, istatfile)
Description
Simple text edit component, which can be created and configured at run time, as in the following example, which creates a second tedit with a custom frame caption and a gradient face, and inserts it into the form.
uses main_mfm; procedure tmainfo.mainformcreated(const sender: TObject); begin tedit2 := tedit.create(self); tedit2.bounds_cx := 100; tedit2.bounds_cy := 21; tedit2.createframe; tedit2.frame.caption := 'Hello'; tedit2.frame.levelo := -2; tedit2.createface; tedit2.face.fade_color.count := 2; tedit2.face.fade_color[0] := cl_ltgreen; tedit2.face.fade_color[1] := cl_dkgreen; tedit2.face.fade_direction := gd_down; insertwidget(tedit2, makepoint(8, 40)); tedit2.show; end; procedure tmainfo.mainformdestroy(const sender: TObject); begin tedit2.free; end;

Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tpublishedwidget
- tcustomedit
- tedit
Overview
Methods
| Protected | function gettext: msestring override; |
| Protected | procedure settext(const avalue: msestring) override; |
| Protected | procedure dotextedited; override; |
| Protected | procedure editnotification(var info: editnotificationinfoty); override; |
| Protected | procedure loaded() override; |
| Protected | procedure dofocus() override; |
| Protected | procedure dodefocus() override; |
| Protected | procedure dostatread(const reader: tstatreader); virtual; |
| Protected | procedure dostatwrite(const writer: tstatwriter); virtual; |
| Protected | procedure statreading; |
| Protected | procedure statread; |
| Protected | function getstatvarname: msestring; |
| Protected | function getstatpriority: integer; |
| Public | constructor create(aowner: tcomponent); override; |
| Public | destructor destroy; override; |
Properties
| Published | property statfile: tstatfile read fstatfile write setstatfile; |
| Published | property statvarname: msestring read getstatvarname write fstatvarname; |
| Published | property statpriority: integer read fstatpriority
write fstatpriority default 0; |
| Published | property delay: integer read getdelay write setdelay default 0; |
| Published | property ontextediteddelayed: texteditedeventty read fontextediteddelayed
write fontextediteddelayed; |
| Published | property optionsedit1; |
| Published | property optionsedit; |
| Published | property font; |
| Published | property textflags; |
| Published | property textflagsactive; |
| Published | property passwordchar; |
| Published | property empty_options; |
| Published | property empty_color; |
| Published | property empty_font; |
| Published | property empty_fontstyle; |
| Published | property empty_textflags; |
| Published | property empty_text; |
| Published | property empty_textcolor; |
| Published | property empty_textcolorbackground; |
| Published | property maxlength; |
| Published | property caretwidth; |
| Published | property cursorreadonly; |
| Published | property text; |
| Published | property onchange; |
| Published | property ontextedited; |
| Published | property onkeydown; |
| Published | property onkeyup; |
| Published | property oncopytoclipboard; |
| Published | property onpastefromclipboard; |
Description
Methods
| Protected | function gettext: msestring override; |
|
This item has no description. | |
| Protected | procedure settext(const avalue: msestring) override; |
|
This item has no description. | |
| Protected | procedure dotextedited; override; |
|
This item has no description. | |
| Protected | procedure editnotification(var info: editnotificationinfoty); override; |
|
This item has no description. | |
| Protected | procedure loaded() override; |
|
This item has no description. | |
| Protected | procedure dofocus() override; |
|
This item has no description. | |
| Protected | procedure dodefocus() override; |
|
This item has no description. | |
| Protected | procedure dostatread(const reader: tstatreader); virtual; |
|
This item has no description. | |
| Protected | procedure dostatwrite(const writer: tstatwriter); virtual; |
|
This item has no description. | |
| Protected | procedure statreading; |
|
This item has no description. | |
| Protected | procedure statread; |
|
This item has no description. | |
| Protected | function getstatvarname: msestring; |
|
This item has no description. | |
| Protected | function getstatpriority: integer; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
Properties
| Published | property statfile: tstatfile read fstatfile write setstatfile; |
|
This item has no description. | |
| Published | property statvarname: msestring read getstatvarname write fstatvarname; |
|
This item has no description. | |
| Published | property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
This item has no description. | |
| Published | property delay: integer read getdelay write setdelay default 0; |
|
Unlike | |
| Published | property ontextediteddelayed: texteditedeventty read fontextediteddelayed
write fontextediteddelayed; |
|
This item has no description. | |
| Published | property optionsedit1; |
|
This item has no description. | |
| Published | property optionsedit; |
|
This item has no description. | |
| Published | property font; |
|
This item has no description. | |
| Published | property textflags; |
|
This item has no description. | |
| Published | property textflagsactive; |
|
This item has no description. | |
| Published | property passwordchar; |
|
This item has no description. | |
| Published | property empty_options; |
|
This item has no description. | |
| Published | property empty_color; |
|
This item has no description. | |
| Published | property empty_font; |
|
This item has no description. | |
| Published | property empty_fontstyle; |
|
This item has no description. | |
| Published | property empty_textflags; |
|
This item has no description. | |
| Published | property empty_text; |
|
This item has no description. | |
| Published | property empty_textcolor; |
|
This item has no description. | |
| Published | property empty_textcolorbackground; |
|
This item has no description. | |
| Published | property maxlength; |
|
This item has no description. | |
| Published | property caretwidth; |
|
This item has no description. | |
| Published | property cursorreadonly; |
|
This item has no description. | |
| Published | property text; |
|
This item has no description. Showing description inherited from tcustomedit.text.
The data-edit widgets ( | |
| Published | property onchange; |
|
This item has no description. | |
| Published | property ontextedited; |
|
This item has no description. | |
| Published | property onkeydown; |
|
This item has no description. | |
| Published | property onkeyup; |
|
This item has no description. | |
| Published | property oncopytoclipboard; |
|
This item has no description. | |
| Published | property onpastefromclipboard; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.