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
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tpublishedwidget
- tcustomedit
- tcustomdataedit
- tdataedit
- tcustomitemedit
Overview
Fields
Methods
procedure valueeditchanged(); |
|
procedure unregisterchildwidget(const child: twidget); override; |
|
procedure loaded(); override; |
|
procedure dofocus; override; |
|
function valuecanedit: boolean; |
|
procedure doextendimage(const cellinfopo: pcellinfoty; var ainfo: extrainfoty); virtual; |
|
procedure getautopaintsize(var asize: sizety); override; |
|
procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); override; |
|
procedure calclayout(const asize: sizety; out alayout: listitemlayoutinfoty); |
|
function finddataedits(aitem: tlistitem; out ainfos: recvaluearty): boolean; |
|
function updateeditwidget(): boolean; |
|
procedure childdataentered(const sender: igridwidget); override; |
|
procedure childfocused(const sender: igridwidget); override; |
|
procedure updateifigriddata(const sender: tobject; const alist: tdatalist); override; |
|
function locatecount: integer; override; |
|
function getkeystring(const index: integer): msestring; override; |
|
procedure itemchanged(const index: integer); virtual; |
|
procedure createnode(var item: tlistitem); virtual; |
|
procedure doupdatelayout(const nocolinvalidate: boolean); virtual; |
|
procedure doupdatecelllayout; virtual; |
|
function getgrid: tcustomgrid; |
|
function getlayoutinfo(const acellinfo: pcellinfoty): plistitemlayoutinfoty; |
|
procedure itemcountchanged; |
|
procedure setfirstclick(var ainfo: mouseeventinfoty); override; |
|
function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; override; |
|
procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); override; |
|
procedure setgridintf(const intf: iwidgetgrid); override; |
|
function createdatalist(const sender: twidgetcol): tdatalist; override; |
|
procedure datalistdestroyed; override; |
|
function getdatalistclass: datalistclassty; override; |
|
procedure drawcell(const canvas: tcanvas); override; |
|
procedure valuetogrid(arow: integer); override; |
|
procedure gridtovalue(arow: integer); override; |
|
function internaldatatotext(const data): msestring; override; |
|
procedure dosetvalue(var avalue: msestring; var accept: boolean); virtual; |
|
procedure storevalue(var avalue: msestring); virtual; |
|
procedure texttovalue(var accept: boolean; const quiet: boolean); override; |
|
procedure clientrectchanged; override; |
|
procedure updatelayout(); |
|
procedure doitembuttonpress(var info: mouseeventinfoty); virtual; |
|
procedure clientmouseevent(var info: mouseeventinfoty); override; |
|
function getitemclass: listitemclassty; virtual; |
|
procedure setupeditor; override; |
|
procedure dopaintforeground(const acanvas: tcanvas); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure getitemvalues; virtual; |
|
procedure internalcreateframe; override; |
|
procedure buttonaction(var action: buttonactionty; const buttonindex: integer); virtual; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override; |
|
function getoptionsedit: optionseditty; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure insertwidget(const awidget: twidget; const apos: pointty); override; |
|
function textclipped(const arow: integer; out acellrect: rectty): boolean; overload; override; |
|
function getvaluetext: msestring; |
|
procedure setvaluetext(var avalue: msestring); |
|
function isnull: boolean; override; |
|
function item: tlistedititem; |
|
function selecteditems: listedititemarty; |
|
procedure beginedit; |
|
procedure endedit; |
|
procedure updateitemvalues(const index: integer; const count: integer); virtual; |
|
procedure updateitemvalues; |
Properties
property editing: boolean read getediting write setediting; |
|
property items[constindex:integer]: tlistitem read getitems
write setitems; |
|
property activerow: integer read factiverow; |
|
property itemlist: titemeditlist read getitemlist
write setitemlist stored false; |
|
property ifilink: tifistringlinkcomp read getifilink write setifilink; |
|
property onsetvalue: setstringeventty read fonsetvalue write fonsetvalue; |
|
property onclientmouseevent: mouseeventty read fonclientmouseevent
write fonclientmouseevent; |
|
property optionsedit1; |
|
property optionsedit; |
|
property font; |
|
property passwordchar; |
|
property maxlength; |
|
property textflags default defaultitemedittextflags; |
|
property textflagsactive default defaultitemedittextflagsactive; |
|
property frame: tbuttonsframe read getframe write setframe; |
|
property valueedits: tvalueedits read fvalueedits write setvalueedits; |
|
property onchange; |
|
property onpaintimage; |
|
property onextendimage: extendimageeventty read fonextendimage
write fonextendimage; |
|
property onbuttonaction: buttoneventty read fonbuttonaction
write fonbuttonaction; |
|
property onupdaterowvalues: itemindexeventty read fonupdaterowvalues
write fonupdaterowvalues; |
|
property oncellevent: celleventty read foncellevent write foncellevent; |
|
property oncheckcanedit: itemcanediteventty read foncheckcanedit
write foncheckcanedit; |
Description
Fields
factiveinfo: valueeditinfoty; |
|
fvisiblevalueeditcount: int32; |
|
flastzonewidget: twidget; |
|
flayoutinfofocused: listitemlayoutinfoty; |
|
flayoutinfocell: listitemlayoutinfoty; |
|
fentryedge: graphicdirectionty; |
|
fvalue: tlistitem; |
|
Methods
procedure valueeditchanged(); |
|
procedure unregisterchildwidget(const child: twidget); override; |
|
procedure loaded(); override; |
|
procedure dofocus; override; |
|
function valuecanedit: boolean; |
|
procedure doextendimage(const cellinfopo: pcellinfoty; var ainfo: extrainfoty); virtual; |
|
procedure getautopaintsize(var asize: sizety); override; |
|
procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); override; |
|
procedure calclayout(const asize: sizety; out alayout: listitemlayoutinfoty); |
|
function finddataedits(aitem: tlistitem; out ainfos: recvaluearty): boolean; |
|
function updateeditwidget(): boolean; |
|
procedure childdataentered(const sender: igridwidget); override; |
|
procedure childfocused(const sender: igridwidget); override; |
|
procedure updateifigriddata(const sender: tobject; const alist: tdatalist); override; |
|
function locatecount: integer; override; |
|
function getkeystring(const index: integer): msestring; override; |
|
procedure itemchanged(const index: integer); virtual; |
|
procedure createnode(var item: tlistitem); virtual; |
|
procedure doupdatelayout(const nocolinvalidate: boolean); virtual; |
|
procedure doupdatecelllayout; virtual; |
|
function getgrid: tcustomgrid; |
|
function getlayoutinfo(const acellinfo: pcellinfoty): plistitemlayoutinfoty; |
|
procedure itemcountchanged; |
|
procedure setfirstclick(var ainfo: mouseeventinfoty); override; |
|
function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; override; |
|
procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); override; |
|
procedure setgridintf(const intf: iwidgetgrid); override; |
|
function createdatalist(const sender: twidgetcol): tdatalist; override; |
|
procedure datalistdestroyed; override; |
|
function getdatalistclass: datalistclassty; override; |
|
procedure drawcell(const canvas: tcanvas); override; |
|
procedure valuetogrid(arow: integer); override; |
|
procedure gridtovalue(arow: integer); override; |
|
function internaldatatotext(const data): msestring; override; |
|
procedure dosetvalue(var avalue: msestring; var accept: boolean); virtual; |
|
procedure storevalue(var avalue: msestring); virtual; |
|
procedure texttovalue(var accept: boolean; const quiet: boolean); override; |
|
procedure clientrectchanged; override; |
|
procedure updatelayout(); |
|
procedure doitembuttonpress(var info: mouseeventinfoty); virtual; |
|
procedure clientmouseevent(var info: mouseeventinfoty); override; |
|
function getitemclass: listitemclassty; virtual; |
|
procedure setupeditor; override; |
|
procedure dopaintforeground(const acanvas: tcanvas); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure getitemvalues; virtual; |
|
procedure internalcreateframe; override; |
|
procedure buttonaction(var action: buttonactionty; const buttonindex: integer); virtual; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override; |
|
function getoptionsedit: optionseditty; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure insertwidget(const awidget: twidget; const apos: pointty); override; |
|
function textclipped(const arow: integer; out acellrect: rectty): boolean; overload; override; |
|
function getvaluetext: msestring; |
|
procedure setvaluetext(var avalue: msestring); |
|
function isnull: boolean; override; |
|
function item: tlistedititem; |
|
function selecteditems: listedititemarty; |
|
procedure beginedit; |
|
procedure endedit; |
|
procedure updateitemvalues(const index: integer; const count: integer); virtual; |
|
procedure updateitemvalues; |
|
Properties
property editing: boolean read getediting write setediting; |
|
property items[constindex:integer]: tlistitem read getitems
write setitems; |
|
property activerow: integer read factiverow; |
|
property itemlist: titemeditlist read getitemlist
write setitemlist stored false; |
|
property ifilink: tifistringlinkcomp read getifilink write setifilink; |
|
property onsetvalue: setstringeventty read fonsetvalue write fonsetvalue; |
|
property onclientmouseevent: mouseeventty read fonclientmouseevent
write fonclientmouseevent; |
|
property optionsedit1; |
|
property optionsedit; |
|
property font; |
|
property passwordchar; |
|
property maxlength; |
|
property textflags default defaultitemedittextflags; |
|
property textflagsactive default defaultitemedittextflagsactive; |
|
property frame: tbuttonsframe read getframe write setframe; |
|
property valueedits: tvalueedits read fvalueedits write setvalueedits; |
|
property onchange; |
|
property onpaintimage; |
|
property onextendimage: extendimageeventty read fonextendimage
write fonextendimage; |
|
property onbuttonaction: buttoneventty read fonbuttonaction
write fonbuttonaction; |
|
property onupdaterowvalues: itemindexeventty read fonupdaterowvalues
write fonupdaterowvalues; |
|
property oncellevent: celleventty read foncellevent write foncellevent; |
|
property oncheckcanedit: itemcanediteventty read foncheckcanedit
write foncheckcanedit; |
|
Generated by PasDoc 0.16.0.