Class tcustomedit
Unit
Declaration
type tcustomedit = class(tpublishedwidget, iedit)
Description
No description available, ancestor tpublishedwidget description follows
No description available, ancestor tpublishedwidgetnwr description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tpublishedwidget
- tcustomedit
Overview
Fields
ftextflags: textflagsty; |
|
ftextflagsactive: textflagsty; |
|
feditor: tinplaceedit; |
|
foptionsedit: optionseditty; |
|
fstate: dataeditstatesty; |
Methods
function gettext: msestring virtual; |
|
procedure settext(const avalue: msestring) virtual; |
|
function getreadonly: boolean; virtual; |
|
procedure setreadonly(const avalue: boolean); virtual; |
|
procedure setmaxlength(const avalue: integer); |
|
procedure updatetextflags; virtual; |
|
function getedittext: msestring; virtual; |
|
procedure updateedittext(const force: boolean); |
|
procedure updateemptytext(); |
|
procedure updateflagtext(var avalue: msestring); |
|
function geteditor: tinplaceedit; |
|
function geteditfont: tfont; virtual; |
|
function getinnerframe: framety; virtual; |
|
function geteditframe: framety; virtual; |
|
procedure gettextrects(out outer: rectty; out inner: rectty); |
|
procedure setupeditor; virtual; |
|
function getformat(): formatinfoarty virtual; |
|
procedure internalcreateframe; override; |
|
procedure clientrectchanged; override; |
|
procedure getautopaintsize(var asize: sizety); override; |
|
procedure fontchanged; override; |
|
procedure enabledchanged; override; |
|
procedure dragstarted; override; |
|
function navigrect: rectty; override; |
|
class function classskininfo: skininfoty; override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure clientmouseevent(var info: mouseeventinfoty); override; |
|
procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override; |
|
procedure doactivate; override; |
|
procedure dodeactivate; override; |
|
procedure dofocus; override; |
|
procedure dodefocus; override; |
|
procedure dopaintforeground(const canvas: tcanvas); override; |
|
procedure dopaintbackground(const canvas: tcanvas); override; |
|
procedure paintimage(const canvas: tcanvas); virtual; |
|
procedure painttext(const canvas: tcanvas); virtual; |
|
function needsfocuspaint: boolean; override; |
|
procedure rootchanged(const aflags: rootchangeflagsty); override; |
|
function gettextcliprect(): rectty; virtual; |
|
procedure showhint(const aid: int32; var info: hintinfoty); override; |
|
procedure dochange; virtual; |
|
procedure formatchanged; virtual; |
|
procedure internaltextedited(const aevent: texteditedeventty); |
|
procedure dotextedited; virtual; |
|
procedure emptychanged; |
|
procedure readpwchar(reader: treader); |
|
procedure writepwchar(writer: twriter); |
|
procedure defineproperties(filer: tfiler); override; |
|
function verticalfontheightdelta: boolean; override; |
|
procedure setoptionsedit1(const avalue: optionsedit1ty); virtual; |
|
function getassistivecaretindex(): int32 override; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getoptionsedit: optionseditty; virtual; |
|
function hasselection: boolean; virtual; |
|
function cangridcopy: boolean; virtual; |
|
procedure setoptionsedit(const avalue: optionseditty); virtual; |
|
procedure updatereadonlystate; virtual; |
|
procedure editnotification(var info: editnotificationinfoty); virtual; |
|
procedure updatecopytoclipboard(var atext: msestring); virtual; |
|
procedure updatepastefromclipboard(var atext: msestring); virtual; |
|
function locatecount: integer; virtual; |
|
function locatecurrentindex: integer; virtual; |
|
procedure locatesetcurrentindex(const aindex: integer); virtual; |
|
function getkeystring(const aindex: integer): msestring; virtual; |
|
function getedited: boolean; virtual; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure initnewcomponent(const ascale: real); override; |
|
procedure changed; |
|
procedure initfocus; |
|
procedure synctofontheight; override; |
|
function actualcursor(const apos: pointty): cursorshapety; override; |
Properties
property editor: tinplaceedit read feditor; |
|
property readonly: boolean read getreadonly write setreadonly; |
|
property optionsedit: optionseditty read getoptionsedit write setoptionsedit
default defaultoptionsedit; |
|
property optionsedit1: optionsedit1ty read getoptionsedit1
write setoptionsedit1 default defaultoptionsedit1; |
|
property passwordchar: msechar read getpasswordchar
write setpasswordchar stored false default #0; |
|
property cursorreadonly: cursorshapety read fcursorreadonly
write setcursorreadonly default cr_default; |
|
property maxlength: integer read getmaxlength write setmaxlength
default -1; |
|
property text: msestring read gettext write settext; |
|
property oldtext: msestring read getoldtext; |
|
property textflags: textflagsty read ftextflags write settextflags
default defaulttextflags; |
|
property textflagsactive: textflagsty read ftextflagsactive
write settextflagsactive default defaulttextflagsactive; |
|
property font: twidgetfont read getfont write setfont stored isfontstored; |
|
property caretwidth: integer read getcaretwidth write setcaretwidth
default defaultcaretwidth; |
|
property empty_options: emptyoptionsty read fempty_options
write fempty_options default []; |
|
property empty_color: colorty read fempty_color write setempty_color
default cl_none; |
|
property empty_font: twidgetfontempty read getfontempty write setfontempty
stored isfontemptystored; |
|
property empty_fontstyle: fontstylesty read fempty_fontstyle
write setempty_fontstyle default []; |
|
property empty_textflags: textflagsty read fempty_textflags
write setempty_textflags default defaulttextflagsempty; |
|
property empty_text: msestring read fempty_text write setempty_text; |
|
property empty_textcolor: colorty read fempty_textcolor
write setempty_textcolor default cl_none; |
|
property empty_textcolorbackground: colorty read fempty_textcolorbackground
write setempty_textcolorbackground default cl_none; |
|
property onchange: notifyeventty read fonchange write fonchange; |
|
property ontextedited: texteditedeventty read fontextedited
write fontextedited; |
|
property oncopytoclipboard: updatestringeventty read foncopytoclipboard
write foncopytoclipboard; |
|
property onpastefromclipboard: updatestringeventty
read fonpastefromclipboard write fonpastefromclipboard; |
|
property onpaintimage: painteventty read fonpaintimage write fonpaintimage; |
|
property optionswidget1 default defaulteditwidgetoptions1; |
|
property optionswidget default defaulteditwidgetoptions; |
|
property bounds_cx default defaulteditwidgetwidth; |
|
property bounds_cy default defaulteditwidgetheight; |
Description
Fields
ftextflags: textflagsty; |
|
ftextflagsactive: textflagsty; |
|
feditor: tinplaceedit; |
|
foptionsedit: optionseditty; |
|
fstate: dataeditstatesty; |
|
Methods
function gettext: msestring virtual; |
|
procedure settext(const avalue: msestring) virtual; |
|
function getreadonly: boolean; virtual; |
|
procedure setreadonly(const avalue: boolean); virtual; |
|
procedure setmaxlength(const avalue: integer); |
|
procedure updatetextflags; virtual; |
|
function getedittext: msestring; virtual; |
|
procedure updateedittext(const force: boolean); |
|
procedure updateemptytext(); |
|
procedure updateflagtext(var avalue: msestring); |
|
function geteditor: tinplaceedit; |
|
function geteditfont: tfont; virtual; |
|
function getinnerframe: framety; virtual; |
|
function geteditframe: framety; virtual; |
|
procedure gettextrects(out outer: rectty; out inner: rectty); |
|
procedure setupeditor; virtual; |
|
function getformat(): formatinfoarty virtual; |
|
procedure internalcreateframe; override; |
|
procedure clientrectchanged; override; |
|
procedure getautopaintsize(var asize: sizety); override; |
|
procedure fontchanged; override; |
|
procedure enabledchanged; override; |
|
procedure dragstarted; override; |
|
function navigrect: rectty; override; |
|
class function classskininfo: skininfoty; override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure clientmouseevent(var info: mouseeventinfoty); override; |
|
procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override; |
|
procedure doactivate; override; |
|
procedure dodeactivate; override; |
|
procedure dofocus; override; |
|
procedure dodefocus; override; |
|
procedure dopaintforeground(const canvas: tcanvas); override; |
|
procedure dopaintbackground(const canvas: tcanvas); override; |
|
procedure paintimage(const canvas: tcanvas); virtual; |
|
procedure painttext(const canvas: tcanvas); virtual; |
|
function needsfocuspaint: boolean; override; |
|
procedure rootchanged(const aflags: rootchangeflagsty); override; |
|
function gettextcliprect(): rectty; virtual; |
|
procedure showhint(const aid: int32; var info: hintinfoty); override; |
|
procedure dochange; virtual; |
|
procedure formatchanged; virtual; |
|
procedure internaltextedited(const aevent: texteditedeventty); |
|
procedure dotextedited; virtual; |
|
procedure emptychanged; |
|
procedure readpwchar(reader: treader); |
|
procedure writepwchar(writer: twriter); |
|
procedure defineproperties(filer: tfiler); override; |
|
function verticalfontheightdelta: boolean; override; |
|
procedure setoptionsedit1(const avalue: optionsedit1ty); virtual; |
|
function getassistivecaretindex(): int32 override; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getoptionsedit: optionseditty; virtual; |
|
function hasselection: boolean; virtual; |
|
function cangridcopy: boolean; virtual; |
|
procedure setoptionsedit(const avalue: optionseditty); virtual; |
|
procedure updatereadonlystate; virtual; |
|
procedure editnotification(var info: editnotificationinfoty); virtual; |
|
procedure updatecopytoclipboard(var atext: msestring); virtual; |
|
procedure updatepastefromclipboard(var atext: msestring); virtual; |
|
function locatecount: integer; virtual; |
|
function locatecurrentindex: integer; virtual; |
|
procedure locatesetcurrentindex(const aindex: integer); virtual; |
|
function getkeystring(const aindex: integer): msestring; virtual; |
|
function getedited: boolean; virtual; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure initnewcomponent(const ascale: real); override; |
|
procedure changed; |
|
procedure initfocus; |
|
procedure synctofontheight; override; |
|
function actualcursor(const apos: pointty): cursorshapety; override; |
|
Properties
property editor: tinplaceedit read feditor; |
|
property readonly: boolean read getreadonly write setreadonly; |
|
property optionsedit: optionseditty read getoptionsedit write setoptionsedit
default defaultoptionsedit; |
|
property optionsedit1: optionsedit1ty read getoptionsedit1
write setoptionsedit1 default defaultoptionsedit1; |
|
property passwordchar: msechar read getpasswordchar
write setpasswordchar stored false default #0; |
|
property cursorreadonly: cursorshapety read fcursorreadonly
write setcursorreadonly default cr_default; |
|
property maxlength: integer read getmaxlength write setmaxlength
default -1; |
|
property text: msestring read gettext write settext; |
|
property oldtext: msestring read getoldtext; |
|
property textflags: textflagsty read ftextflags write settextflags
default defaulttextflags; |
|
property textflagsactive: textflagsty read ftextflagsactive
write settextflagsactive default defaulttextflagsactive; |
|
property font: twidgetfont read getfont write setfont stored isfontstored; |
|
property caretwidth: integer read getcaretwidth write setcaretwidth
default defaultcaretwidth; |
|
property empty_options: emptyoptionsty read fempty_options
write fempty_options default []; |
|
property empty_color: colorty read fempty_color write setempty_color
default cl_none; |
|
property empty_font: twidgetfontempty read getfontempty write setfontempty
stored isfontemptystored; |
|
property empty_fontstyle: fontstylesty read fempty_fontstyle
write setempty_fontstyle default []; |
|
property empty_textflags: textflagsty read fempty_textflags
write setempty_textflags default defaulttextflagsempty; |
|
property empty_text: msestring read fempty_text write setempty_text; |
|
property empty_textcolor: colorty read fempty_textcolor
write setempty_textcolor default cl_none; |
|
property empty_textcolorbackground: colorty read fempty_textcolorbackground
write setempty_textcolorbackground default cl_none; |
|
property onchange: notifyeventty read fonchange write fonchange; |
|
property ontextedited: texteditedeventty read fontextedited
write fontextedited; |
|
property oncopytoclipboard: updatestringeventty read foncopytoclipboard
write foncopytoclipboard; |
|
property onpastefromclipboard: updatestringeventty
read fonpastefromclipboard write fonpastefromclipboard; |
|
property onpaintimage: painteventty read fonpaintimage write fonpaintimage; |
|
property optionswidget1 default defaulteditwidgetoptions1; |
|
property optionswidget default defaulteditwidgetoptions; |
|
property bounds_cx default defaulteditwidgetwidth; |
|
property bounds_cy default defaulteditwidgetheight; |
|
Generated by PasDoc 0.16.0.