Class tcustomitemedit

Unit

Declaration

type tcustomitemedit = class(tdataedit, iitemlist, ibutton)

Description

No description available, ancestor tdataedit description follows
No description available, ancestor tcustomdataedit description follows
No description available, ancestor tcustomedit description follows
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 factiveinfo: valueeditinfoty;
Protected fvisiblevalueeditcount: int32;
Protected flastzonewidget: twidget;
Protected flayoutinfofocused: listitemlayoutinfoty;
Protected flayoutinfocell: listitemlayoutinfoty;
Protected fentryedge: graphicdirectionty;
Protected fvalue: tlistitem;

Methods

Protected procedure valueeditchanged();
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure loaded(); override;
Protected procedure dofocus; override;
Protected function valuecanedit: boolean;
Protected procedure doextendimage(const cellinfopo: pcellinfoty; var ainfo: extrainfoty); virtual;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); override;
Protected procedure calclayout(const asize: sizety; out alayout: listitemlayoutinfoty);
Protected function finddataedits(aitem: tlistitem; out ainfos: recvaluearty): boolean;
Protected function updateeditwidget(): boolean;
Protected procedure childdataentered(const sender: igridwidget); override;
Protected procedure childfocused(const sender: igridwidget); override;
Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist); override;
Protected function locatecount: integer; override;
Protected function getkeystring(const index: integer): msestring; override;
Protected procedure itemchanged(const index: integer); virtual;
Protected procedure createnode(var item: tlistitem); virtual;
Protected procedure doupdatelayout(const nocolinvalidate: boolean); virtual;
Protected procedure doupdatecelllayout; virtual;
Protected function getgrid: tcustomgrid;
Protected function getlayoutinfo(const acellinfo: pcellinfoty): plistitemlayoutinfoty;
Protected procedure itemcountchanged;
Protected procedure setfirstclick(var ainfo: mouseeventinfoty); override;
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; override;
Protected procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); override;
Protected procedure setgridintf(const intf: iwidgetgrid); override;
Protected function createdatalist(const sender: twidgetcol): tdatalist; override;
Protected procedure datalistdestroyed; override;
Protected function getdatalistclass: datalistclassty; override;
Protected procedure drawcell(const canvas: tcanvas); override;
Protected procedure valuetogrid(arow: integer); override;
Protected procedure gridtovalue(arow: integer); override;
Protected function internaldatatotext(const data): msestring; override;
Protected procedure dosetvalue(var avalue: msestring; var accept: boolean); virtual;
Protected procedure storevalue(var avalue: msestring); virtual;
Protected procedure texttovalue(var accept: boolean; const quiet: boolean); override;
Protected procedure clientrectchanged; override;
Protected procedure updatelayout();
Protected procedure doitembuttonpress(var info: mouseeventinfoty); virtual;
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected function getitemclass: listitemclassty; virtual;
Protected procedure setupeditor; override;
Protected procedure dopaintforeground(const acanvas: tcanvas); override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure getitemvalues; virtual;
Protected procedure internalcreateframe; override;
Protected procedure buttonaction(var action: buttonactionty; const buttonindex: integer); virtual;
Protected procedure mouseevent(var info: mouseeventinfoty); override;
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;
Protected function getoptionsedit: optionseditty; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure insertwidget(const awidget: twidget; const apos: pointty); override;
Public function textclipped(const arow: integer; out acellrect: rectty): boolean; overload; override;
Public function getvaluetext: msestring;
Public procedure setvaluetext(var avalue: msestring);
Public function isnull: boolean; override;
Public function item: tlistedititem;
Public function selecteditems: listedititemarty;
Public procedure beginedit;
Public procedure endedit;
Public procedure updateitemvalues(const index: integer; const count: integer); virtual;
Public procedure updateitemvalues;

Properties

Protected property editing: boolean read getediting write setediting;
Public property items[constindex:integer]: tlistitem read getitems write setitems;
Public property activerow: integer read factiverow;
Published property itemlist: titemeditlist read getitemlist write setitemlist stored false;
Published property ifilink: tifistringlinkcomp read getifilink write setifilink;
Published property onsetvalue: setstringeventty read fonsetvalue write fonsetvalue;
Published property onclientmouseevent: mouseeventty read fonclientmouseevent write fonclientmouseevent;
Published property optionsedit1;
Published property optionsedit;
Published property font;
Published property passwordchar;
Published property maxlength;
Published property textflags default defaultitemedittextflags;
Published property textflagsactive default defaultitemedittextflagsactive;
Published property frame: tbuttonsframe read getframe write setframe;
Published property valueedits: tvalueedits read fvalueedits write setvalueedits;
Published property onchange;
Published property onpaintimage;
Published property onextendimage: extendimageeventty read fonextendimage write fonextendimage;
Published property onbuttonaction: buttoneventty read fonbuttonaction write fonbuttonaction;
Published property onupdaterowvalues: itemindexeventty read fonupdaterowvalues write fonupdaterowvalues;
Published property oncellevent: celleventty read foncellevent write foncellevent;
Published property oncheckcanedit: itemcanediteventty read foncheckcanedit write foncheckcanedit;

Description

Fields

Protected factiveinfo: valueeditinfoty;
 
Protected fvisiblevalueeditcount: int32;
 
Protected flastzonewidget: twidget;
 
Protected flayoutinfofocused: listitemlayoutinfoty;
 
Protected flayoutinfocell: listitemlayoutinfoty;
 
Protected fentryedge: graphicdirectionty;
 
Protected fvalue: tlistitem;
 

Methods

Protected procedure valueeditchanged();
 
Protected procedure unregisterchildwidget(const child: twidget); override;
 
Protected procedure loaded(); override;
 
Protected procedure dofocus; override;
 
Protected function valuecanedit: boolean;
 
Protected procedure doextendimage(const cellinfopo: pcellinfoty; var ainfo: extrainfoty); virtual;
 
Protected procedure getautopaintsize(var asize: sizety); override;
 
Protected procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); override;
 
Protected procedure calclayout(const asize: sizety; out alayout: listitemlayoutinfoty);
 
Protected function finddataedits(aitem: tlistitem; out ainfos: recvaluearty): boolean;
 
Protected function updateeditwidget(): boolean;
 
Protected procedure childdataentered(const sender: igridwidget); override;
 
Protected procedure childfocused(const sender: igridwidget); override;
 
Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist); override;
 
Protected function locatecount: integer; override;
 
Protected function getkeystring(const index: integer): msestring; override;
 
Protected procedure itemchanged(const index: integer); virtual;
 
Protected procedure createnode(var item: tlistitem); virtual;
 
Protected procedure doupdatelayout(const nocolinvalidate: boolean); virtual;
 
Protected procedure doupdatecelllayout; virtual;
 
Protected function getgrid: tcustomgrid;
 
Protected function getlayoutinfo(const acellinfo: pcellinfoty): plistitemlayoutinfoty;
 
Protected procedure itemcountchanged;
 
Protected procedure setfirstclick(var ainfo: mouseeventinfoty); override;
 
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; override;
 
Protected procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); override;
 
Protected procedure setgridintf(const intf: iwidgetgrid); override;
 
Protected function createdatalist(const sender: twidgetcol): tdatalist; override;
 
Protected procedure datalistdestroyed; override;
 
Protected function getdatalistclass: datalistclassty; override;
 
Protected procedure drawcell(const canvas: tcanvas); override;
 
Protected procedure valuetogrid(arow: integer); override;
 
Protected procedure gridtovalue(arow: integer); override;
 
Protected function internaldatatotext(const data): msestring; override;
 
Protected procedure dosetvalue(var avalue: msestring; var accept: boolean); virtual;
 
Protected procedure storevalue(var avalue: msestring); virtual;
 
Protected procedure texttovalue(var accept: boolean; const quiet: boolean); override;
 
Protected procedure clientrectchanged; override;
 
Protected procedure updatelayout();
 
Protected procedure doitembuttonpress(var info: mouseeventinfoty); virtual;
 
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
 
Protected function getitemclass: listitemclassty; virtual;
 
Protected procedure setupeditor; override;
 
Protected procedure dopaintforeground(const acanvas: tcanvas); override;
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure getitemvalues; virtual;
 
Protected procedure internalcreateframe; override;
 
Protected procedure buttonaction(var action: buttonactionty; const buttonindex: integer); virtual;
 
Protected procedure mouseevent(var info: mouseeventinfoty); override;
 
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;
 
Protected function getoptionsedit: optionseditty; override;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure insertwidget(const awidget: twidget; const apos: pointty); override;
 
Public function textclipped(const arow: integer; out acellrect: rectty): boolean; overload; override;
 
Public function getvaluetext: msestring;
 
Public procedure setvaluetext(var avalue: msestring);
 
Public function isnull: boolean; override;
 
Public function item: tlistedititem;
 
Public function selecteditems: listedititemarty;
 
Public procedure beginedit;
 
Public procedure endedit;
 
Public procedure updateitemvalues(const index: integer; const count: integer); virtual;
 
Public procedure updateitemvalues;
 

Properties

Protected property editing: boolean read getediting write setediting;
 
Public property items[constindex:integer]: tlistitem read getitems write setitems;
 
Public property activerow: integer read factiverow;
 
Published property itemlist: titemeditlist read getitemlist write setitemlist stored false;
 
Published property ifilink: tifistringlinkcomp read getifilink write setifilink;
 
Published property onsetvalue: setstringeventty read fonsetvalue write fonsetvalue;
 
Published property onclientmouseevent: mouseeventty read fonclientmouseevent write fonclientmouseevent;
 
Published property optionsedit1;
 
Published property optionsedit;
 
Published property font;
 
Published property passwordchar;
 
Published property maxlength;
 
Published property textflags default defaultitemedittextflags;
 
Published property textflagsactive default defaultitemedittextflagsactive;
 
Published property frame: tbuttonsframe read getframe write setframe;
 
Published property valueedits: tvalueedits read fvalueedits write setvalueedits;
 
Published property onchange;
 
Published property onpaintimage;
 
Published property onextendimage: extendimageeventty read fonextendimage write fonextendimage;
 
Published property onbuttonaction: buttoneventty read fonbuttonaction write fonbuttonaction;
 
Published property onupdaterowvalues: itemindexeventty read fonupdaterowvalues write fonupdaterowvalues;
 
Published property oncellevent: celleventty read foncellevent write foncellevent;
 
Published property oncheckcanedit: itemcanediteventty read foncheckcanedit write foncheckcanedit;
 

Generated by PasDoc 0.16.0.