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

Overview

Fields

Protected ftextflags: textflagsty;
Protected ftextflagsactive: textflagsty;
Protected feditor: tinplaceedit;
Protected foptionsedit: optionseditty;
Protected fstate: dataeditstatesty;

Methods

Protected function gettext: msestring virtual;
Protected procedure settext(const avalue: msestring) virtual;
Protected function getreadonly: boolean; virtual;
Protected procedure setreadonly(const avalue: boolean); virtual;
Protected procedure setmaxlength(const avalue: integer);
Protected procedure updatetextflags; virtual;
Protected function getedittext: msestring; virtual;
Protected procedure updateedittext(const force: boolean);
Protected procedure updateemptytext();
Protected procedure updateflagtext(var avalue: msestring);
Protected function geteditor: tinplaceedit;
Protected function geteditfont: tfont; virtual;
Protected function getinnerframe: framety; virtual;
Protected function geteditframe: framety; virtual;
Protected procedure gettextrects(out outer: rectty; out inner: rectty);
Protected procedure setupeditor; virtual;
Protected function getformat(): formatinfoarty virtual;
Protected procedure internalcreateframe; override;
Protected procedure clientrectchanged; override;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure fontchanged; override;
Protected procedure enabledchanged; override;
Protected procedure dragstarted; override;
Protected function navigrect: rectty; override;
Protected class function classskininfo: skininfoty; override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override;
Protected procedure doactivate; override;
Protected procedure dodeactivate; override;
Protected procedure dofocus; override;
Protected procedure dodefocus; override;
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected procedure dopaintbackground(const canvas: tcanvas); override;
Protected procedure paintimage(const canvas: tcanvas); virtual;
Protected procedure painttext(const canvas: tcanvas); virtual;
Protected function needsfocuspaint: boolean; override;
Protected procedure rootchanged(const aflags: rootchangeflagsty); override;
Protected function gettextcliprect(): rectty; virtual;
Protected procedure showhint(const aid: int32; var info: hintinfoty); override;
Protected procedure dochange; virtual;
Protected procedure formatchanged; virtual;
Protected procedure internaltextedited(const aevent: texteditedeventty);
Protected procedure dotextedited; virtual;
Protected procedure emptychanged;
Protected procedure readpwchar(reader: treader);
Protected procedure writepwchar(writer: twriter);
Protected procedure defineproperties(filer: tfiler); override;
Protected function verticalfontheightdelta: boolean; override;
Protected procedure setoptionsedit1(const avalue: optionsedit1ty); virtual;
Protected function getassistivecaretindex(): int32 override;
Protected function getassistiveflags(): assistiveflagsty override;
Protected function getoptionsedit: optionseditty; virtual;
Protected function hasselection: boolean; virtual;
Protected function cangridcopy: boolean; virtual;
Protected procedure setoptionsedit(const avalue: optionseditty); virtual;
Protected procedure updatereadonlystate; virtual;
Protected procedure editnotification(var info: editnotificationinfoty); virtual;
Protected procedure updatecopytoclipboard(var atext: msestring); virtual;
Protected procedure updatepastefromclipboard(var atext: msestring); virtual;
Protected function locatecount: integer; virtual;
Protected function locatecurrentindex: integer; virtual;
Protected procedure locatesetcurrentindex(const aindex: integer); virtual;
Protected function getkeystring(const aindex: integer): msestring; virtual;
Protected function getedited: boolean; virtual;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure initnewcomponent(const ascale: real); override;
Public procedure changed;
Public procedure initfocus;
Public procedure synctofontheight; override;
Public function actualcursor(const apos: pointty): cursorshapety; override;

Properties

Public property editor: tinplaceedit read feditor;
Public property readonly: boolean read getreadonly write setreadonly;
Public property optionsedit: optionseditty read getoptionsedit write setoptionsedit default defaultoptionsedit;
Public property optionsedit1: optionsedit1ty read getoptionsedit1 write setoptionsedit1 default defaultoptionsedit1;
Public property passwordchar: msechar read getpasswordchar write setpasswordchar stored false default #0;
Public property cursorreadonly: cursorshapety read fcursorreadonly write setcursorreadonly default cr_default;
Public property maxlength: integer read getmaxlength write setmaxlength default -1;
Public property text: msestring read gettext write settext;
Public property oldtext: msestring read getoldtext;
Public property textflags: textflagsty read ftextflags write settextflags default defaulttextflags;
Public property textflagsactive: textflagsty read ftextflagsactive write settextflagsactive default defaulttextflagsactive;
Public property font: twidgetfont read getfont write setfont stored isfontstored;
Public property caretwidth: integer read getcaretwidth write setcaretwidth default defaultcaretwidth;
Public property empty_options: emptyoptionsty read fempty_options write fempty_options default [];
Public property empty_color: colorty read fempty_color write setempty_color default cl_none;
Public property empty_font: twidgetfontempty read getfontempty write setfontempty stored isfontemptystored;
Public property empty_fontstyle: fontstylesty read fempty_fontstyle write setempty_fontstyle default [];
Public property empty_textflags: textflagsty read fempty_textflags write setempty_textflags default defaulttextflagsempty;
Public property empty_text: msestring read fempty_text write setempty_text;
Public property empty_textcolor: colorty read fempty_textcolor write setempty_textcolor default cl_none;
Public property empty_textcolorbackground: colorty read fempty_textcolorbackground write setempty_textcolorbackground default cl_none;
Public property onchange: notifyeventty read fonchange write fonchange;
Public property ontextedited: texteditedeventty read fontextedited write fontextedited;
Public property oncopytoclipboard: updatestringeventty read foncopytoclipboard write foncopytoclipboard;
Public property onpastefromclipboard: updatestringeventty read fonpastefromclipboard write fonpastefromclipboard;
Public property onpaintimage: painteventty read fonpaintimage write fonpaintimage;
Published property optionswidget1 default defaulteditwidgetoptions1;
Published property optionswidget default defaulteditwidgetoptions;
Published property bounds_cx default defaulteditwidgetwidth;
Published property bounds_cy default defaulteditwidgetheight;

Description

Fields

Protected ftextflags: textflagsty;
 
Protected ftextflagsactive: textflagsty;
 
Protected feditor: tinplaceedit;
 
Protected foptionsedit: optionseditty;
 
Protected fstate: dataeditstatesty;
 

Methods

Protected function gettext: msestring virtual;
 
Protected procedure settext(const avalue: msestring) virtual;
 
Protected function getreadonly: boolean; virtual;
 
Protected procedure setreadonly(const avalue: boolean); virtual;
 
Protected procedure setmaxlength(const avalue: integer);
 
Protected procedure updatetextflags; virtual;
 
Protected function getedittext: msestring; virtual;
 
Protected procedure updateedittext(const force: boolean);
 
Protected procedure updateemptytext();
 
Protected procedure updateflagtext(var avalue: msestring);
 
Protected function geteditor: tinplaceedit;
 
Protected function geteditfont: tfont; virtual;
 
Protected function getinnerframe: framety; virtual;
 
Protected function geteditframe: framety; virtual;
 
Protected procedure gettextrects(out outer: rectty; out inner: rectty);
 
Protected procedure setupeditor; virtual;
 
Protected function getformat(): formatinfoarty virtual;
 
Protected procedure internalcreateframe; override;
 
Protected procedure clientrectchanged; override;
 
Protected procedure getautopaintsize(var asize: sizety); override;
 
Protected procedure fontchanged; override;
 
Protected procedure enabledchanged; override;
 
Protected procedure dragstarted; override;
 
Protected function navigrect: rectty; override;
 
Protected class function classskininfo: skininfoty; override;
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
 
Protected procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override;
 
Protected procedure doactivate; override;
 
Protected procedure dodeactivate; override;
 
Protected procedure dofocus; override;
 
Protected procedure dodefocus; override;
 
Protected procedure dopaintforeground(const canvas: tcanvas); override;
 
Protected procedure dopaintbackground(const canvas: tcanvas); override;
 
Protected procedure paintimage(const canvas: tcanvas); virtual;
 
Protected procedure painttext(const canvas: tcanvas); virtual;
 
Protected function needsfocuspaint: boolean; override;
 
Protected procedure rootchanged(const aflags: rootchangeflagsty); override;
 
Protected function gettextcliprect(): rectty; virtual;
 
Protected procedure showhint(const aid: int32; var info: hintinfoty); override;
 
Protected procedure dochange; virtual;
 
Protected procedure formatchanged; virtual;
 
Protected procedure internaltextedited(const aevent: texteditedeventty);
 
Protected procedure dotextedited; virtual;
 
Protected procedure emptychanged;
 
Protected procedure readpwchar(reader: treader);
 
Protected procedure writepwchar(writer: twriter);
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected function verticalfontheightdelta: boolean; override;
 
Protected procedure setoptionsedit1(const avalue: optionsedit1ty); virtual;
 
Protected function getassistivecaretindex(): int32 override;
 
Protected function getassistiveflags(): assistiveflagsty override;
 
Protected function getoptionsedit: optionseditty; virtual;
 
Protected function hasselection: boolean; virtual;
 
Protected function cangridcopy: boolean; virtual;
 
Protected procedure setoptionsedit(const avalue: optionseditty); virtual;
 
Protected procedure updatereadonlystate; virtual;
 
Protected procedure editnotification(var info: editnotificationinfoty); virtual;
 
Protected procedure updatecopytoclipboard(var atext: msestring); virtual;
 
Protected procedure updatepastefromclipboard(var atext: msestring); virtual;
 
Protected function locatecount: integer; virtual;
 
Protected function locatecurrentindex: integer; virtual;
 
Protected procedure locatesetcurrentindex(const aindex: integer); virtual;
 
Protected function getkeystring(const aindex: integer): msestring; virtual;
 
Protected function getedited: boolean; virtual;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure initnewcomponent(const ascale: real); override;
 
Public procedure changed;
 
Public procedure initfocus;
 
Public procedure synctofontheight; override;
 
Public function actualcursor(const apos: pointty): cursorshapety; override;
 

Properties

Public property editor: tinplaceedit read feditor;
 
Public property readonly: boolean read getreadonly write setreadonly;
 
Public property optionsedit: optionseditty read getoptionsedit write setoptionsedit default defaultoptionsedit;
 
Public property optionsedit1: optionsedit1ty read getoptionsedit1 write setoptionsedit1 default defaultoptionsedit1;
 
Public property passwordchar: msechar read getpasswordchar write setpasswordchar stored false default #0;
 
Public property cursorreadonly: cursorshapety read fcursorreadonly write setcursorreadonly default cr_default;
 
Public property maxlength: integer read getmaxlength write setmaxlength default -1;
 
Public property text: msestring read gettext write settext;
 
Public property oldtext: msestring read getoldtext;
 
Public property textflags: textflagsty read ftextflags write settextflags default defaulttextflags;
 
Public property textflagsactive: textflagsty read ftextflagsactive write settextflagsactive default defaulttextflagsactive;
 
Public property font: twidgetfont read getfont write setfont stored isfontstored;
 
Public property caretwidth: integer read getcaretwidth write setcaretwidth default defaultcaretwidth;
 
Public property empty_options: emptyoptionsty read fempty_options write fempty_options default [];
 
Public property empty_color: colorty read fempty_color write setempty_color default cl_none;
 
Public property empty_font: twidgetfontempty read getfontempty write setfontempty stored isfontemptystored;
 
Public property empty_fontstyle: fontstylesty read fempty_fontstyle write setempty_fontstyle default [];
 
Public property empty_textflags: textflagsty read fempty_textflags write setempty_textflags default defaulttextflagsempty;
 
Public property empty_text: msestring read fempty_text write setempty_text;
 
Public property empty_textcolor: colorty read fempty_textcolor write setempty_textcolor default cl_none;
 
Public property empty_textcolorbackground: colorty read fempty_textcolorbackground write setempty_textcolorbackground default cl_none;
 
Public property onchange: notifyeventty read fonchange write fonchange;
 
Public property ontextedited: texteditedeventty read fontextedited write fontextedited;
 
Public property oncopytoclipboard: updatestringeventty read foncopytoclipboard write foncopytoclipboard;
 
Public property onpastefromclipboard: updatestringeventty read fonpastefromclipboard write fonpastefromclipboard;
 
Public property onpaintimage: painteventty read fonpaintimage write fonpaintimage;
 
Published property optionswidget1 default defaulteditwidgetoptions1;
 
Published property optionswidget default defaulteditwidgetoptions;
 
Published property bounds_cx default defaulteditwidgetwidth;
 
Published property bounds_cy default defaulteditwidgetheight;
 

Generated by PasDoc 0.16.0.