Class tcustomdataedit
Unit
Declaration
type tcustomdataedit = class(tcustomedit, igridwidget, istatfile, idragcontroller, iassistiveclientgridwidget, iifidatalink)
Description
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
Overview
Fields
fgridintf: iwidgetgrid; |
|
fgriddatalink: pointer; |
|
fdatalist: tdatalist; |
|
fcontrollerintf: idataeditcontroller; |
|
fparentintf: igridwidget; |
|
fifilink: tifivaluelinkcomp; |
Methods
function getdefaultifilink: iificlient; override; |
|
function getifidatalinkintf: iifidatalink; override; |
|
function getoptionsedit: optionseditty; override; |
|
procedure dochange; override; |
|
function getifidatatype(): listdatatypety override; |
|
procedure ifisetvalue(var avalue; var accept: boolean); |
|
procedure getifivalue(var avalue) virtual; |
|
procedure setifivalue(const avalue) virtual; |
|
function getifilinkkind: ptypeinfo; virtual; |
|
procedure setifilink(const avalue: tifilinkcomp); |
|
procedure updateifigriddata(const sender: tobject; const alist: tdatalist); virtual; |
|
function getgriddata: tdatalist; |
|
function getvalueprop: ppropinfo; |
|
procedure updatedatalist; virtual; |
|
function geteditstate: dataeditstatesty; |
|
procedure seteditstate(const avalue: dataeditstatesty); |
|
function getgridintf: iwidgetgrid; |
|
procedure checkgrid; |
|
function checkgriddata: tdatalist; overload; |
|
function checkgriddata(var index: integer): tdatalist; overload; |
|
procedure internalgetgridvalue(index: integer; var value); |
|
procedure internalsetgridvalue(index: integer; const Value); |
|
procedure internalfillcol(const value); |
|
procedure internalassigncol(const value); |
|
function getinnerframe: framety; override; |
|
procedure valuechanged; virtual; |
|
procedure dotextchange; virtual; |
|
procedure modified; virtual; |
|
function gettext: msestring override; |
|
function getedittext(): msestring override; |
|
procedure checktext(var atext: msestring; var accept: boolean); |
|
procedure texttovalue(var accept: boolean; const quiet: boolean); virtual; abstract; |
|
procedure texttodata(const atext: msestring; var data); virtual; |
|
function datatotext(const data): msestring; |
|
function internaldatatotext(const data): msestring; virtual; abstract; |
|
procedure valuetotext; |
|
procedure setenabled(const avalue: boolean); override; |
|
procedure dodefocus; override; |
|
procedure dofocus; override; |
|
procedure formatchanged; override; |
|
procedure loaded; override; |
|
procedure fontchanged; override; |
|
procedure dofontheightdelta(var delta: integer); override; |
|
procedure sizechanged; override; |
|
function geteditfont: tfont; override; |
|
class function classskininfo: skininfoty; override; |
|
function setdropdowntext(const avalue: msestring; const docheckvalue: boolean; const canceled: boolean; const akey: keyty): boolean; |
|
procedure initeditfocus; |
|
procedure setifilink0(const avalue: tifilinkcomp); |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure internalcreateframe; override; |
|
procedure updatereadonlystate; override; |
|
procedure editnotification(var info: editnotificationinfoty); override; |
|
procedure domousewheelevent(var info: mousewheeleventinfoty); override; |
|
function locatecount: integer; override; |
|
function locatecurrentindex: integer; override; |
|
procedure locatesetcurrentindex(const aindex: integer); override; |
|
function getkeystring(const aindex: integer): msestring; override; |
|
procedure setfirstclick(var ainfo: mouseeventinfoty); virtual; |
|
function createdatalist(const sender: twidgetcol): tdatalist; virtual; abstract; |
|
procedure datalistdestroyed; virtual; |
|
function getdatalistclass: datalistclassty; virtual; abstract; |
|
function getdefaultvalue: pointer; virtual; |
|
function getrowdatapo(const arow: integer): pointer; virtual; |
|
procedure setgridintf(const intf: iwidgetgrid); virtual; |
|
function getcellframe: framety; virtual; |
|
function needscellfocuspaint(): boolean; |
|
function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; virtual; |
|
procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); virtual; |
|
function getnulltext: msestring; virtual; |
|
function getcelltext(const datapo: pointer; out empty: boolean): msestring; |
|
function getiassistiveclient(): iassistiveclient override; |
|
function getassistivecelltext(const arow: int32): msestring; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getassistivetext(): msestring; override; |
|
function getassistivecolumncaption(): msestring virtual; |
|
procedure drawcell(const canvas: tcanvas); virtual; |
|
procedure updateautocellsize(const canvas: tcanvas); virtual; |
|
procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual; |
|
procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual; |
|
procedure valuetogrid(row: integer); virtual; abstract; |
|
procedure gridtovalue(row: integer); virtual; |
|
procedure setvaluedata(const source); virtual; abstract; |
|
procedure getvaluedata(out dest); virtual; abstract; |
|
procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); virtual; |
|
function sortfunc(const l,r): integer; virtual; |
|
procedure gridvaluechanged(const index: integer); virtual; |
|
procedure updatecoloptions(const aoptions: coloptionsty); |
|
procedure updatecoloptions1(const aoptions: coloptions1ty); |
|
procedure setoptionsedit(const avalue: optionseditty); override; |
|
procedure setoptionsedit1(const avalue: optionsedit1ty); override; |
|
procedure statdataread; virtual; |
|
procedure griddatasourcechanged; virtual; |
|
function getifilink: tifilinkcomp; |
|
procedure setparentgridwidget(const intf: igridwidget); |
|
procedure childdataentered(const sender: igridwidget); virtual; |
|
procedure childfocused(const sender: igridwidget); virtual; |
|
procedure formaterror(const quiet: boolean); |
|
procedure rangeerror(const min,max; const quiet: boolean); |
|
procedure notnullerror(const quiet: boolean); |
|
procedure doafterpaint(const canvas: tcanvas); override; |
|
function needsfocuspaint: boolean; override; |
|
procedure dostatread(const reader: tstatreader); virtual; |
|
procedure dostatwrite(const writer: tstatwriter); virtual; |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
procedure readstatvalue(const reader: tstatreader); virtual; |
|
procedure readstatstate(const reader: tstatreader); virtual; |
|
procedure readstatoptions(const reader: tstatreader); virtual; |
|
procedure writestatvalue(const writer: tstatwriter); virtual; |
|
procedure writestatstate(const writer: tstatwriter); virtual; |
|
procedure writestatoptions(const writer: tstatwriter); virtual; |
|
function cangridcopy: boolean; override; |
|
function isempty(const atext: msestring): boolean; virtual; |
|
procedure nullvalueset; |
|
procedure setnullvalue; virtual; |
|
function nullcheckneeded(const newfocus: twidget): boolean; virtual; |
|
function textcellcopy: boolean; virtual; |
|
function getedited: boolean; override; |
|
procedure setedited(const avalue: boolean); virtual; |
|
procedure initnewwidget(const ascale: real); override; |
|
procedure initgridwidget; virtual; |
|
procedure paint(const canvas: tcanvas); override; |
|
procedure synctofontheight; override; |
|
function actualcolor: colorty; override; |
|
function actualcursor(const apos: pointty): cursorshapety; override; |
|
function widgetcol: twidgetcol; |
|
function grid: tcustomwidgetgrid; |
|
function gridrowhigh: int32; |
|
function griddatarowhigh: int32; |
|
function gridcol: integer; |
|
function griddata: tdatalist; |
|
function textclipped(const arow: integer; out acellrect: rectty): boolean; virtual; |
|
function textclipped(const arow: integer): boolean; |
|
function checkvalue(const quiet: boolean = false): boolean; virtual; |
|
function canclose(const newfocus: twidget): boolean; override; |
|
function emptytext: boolean; |
|
function seteditfocus: boolean; |
|
function isnull: boolean; virtual; |
Properties
property gridrow: integer read getgridrow write setgridrow; |
|
property gridintf: iwidgetgrid read fgridintf; |
|
property edited: boolean read getedited write setedited; |
|
property disptext: msestring read getdisptext; |
|
property dataeditstate: dataeditstatesty read fstate; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property oncheckvalue: checkvalueeventty read foncheckvalue
write foncheckvalue; |
|
property ondataentered: notifyeventty read fondataentered
write fondataentered; |
|
property ongettext: gettexteventty read fongettext write fongettext; |
|
property onsettext: settexteventty read fonsettext write fonsettext; |
|
property ontextchange: textchangeeventty read fontextchange
write fontextchange; |
Description
Fields
fgridintf: iwidgetgrid; |
|
fgriddatalink: pointer; |
|
fdatalist: tdatalist; |
|
fcontrollerintf: idataeditcontroller; |
|
fparentintf: igridwidget; |
|
fifilink: tifivaluelinkcomp; |
|
Methods
function getdefaultifilink: iificlient; override; |
|
function getifidatalinkintf: iifidatalink; override; |
|
function getoptionsedit: optionseditty; override; |
|
procedure dochange; override; |
|
function getifidatatype(): listdatatypety override; |
|
procedure ifisetvalue(var avalue; var accept: boolean); |
|
procedure getifivalue(var avalue) virtual; |
|
procedure setifivalue(const avalue) virtual; |
|
function getifilinkkind: ptypeinfo; virtual; |
|
procedure setifilink(const avalue: tifilinkcomp); |
|
procedure updateifigriddata(const sender: tobject; const alist: tdatalist); virtual; |
|
function getgriddata: tdatalist; |
|
function getvalueprop: ppropinfo; |
|
procedure updatedatalist; virtual; |
|
function geteditstate: dataeditstatesty; |
|
procedure seteditstate(const avalue: dataeditstatesty); |
|
function getgridintf: iwidgetgrid; |
|
procedure checkgrid; |
|
function checkgriddata: tdatalist; overload; |
|
function checkgriddata(var index: integer): tdatalist; overload; |
|
procedure internalgetgridvalue(index: integer; var value); |
|
procedure internalsetgridvalue(index: integer; const Value); |
|
procedure internalfillcol(const value); |
|
procedure internalassigncol(const value); |
|
function getinnerframe: framety; override; |
|
procedure valuechanged; virtual; |
|
procedure dotextchange; virtual; |
|
procedure modified; virtual; |
|
function gettext: msestring override; |
|
function getedittext(): msestring override; |
|
procedure checktext(var atext: msestring; var accept: boolean); |
|
procedure texttovalue(var accept: boolean; const quiet: boolean); virtual; abstract; |
|
procedure texttodata(const atext: msestring; var data); virtual; |
|
function datatotext(const data): msestring; |
|
function internaldatatotext(const data): msestring; virtual; abstract; |
|
procedure valuetotext; |
|
procedure setenabled(const avalue: boolean); override; |
|
procedure dodefocus; override; |
|
procedure dofocus; override; |
|
procedure formatchanged; override; |
|
procedure loaded; override; |
|
procedure fontchanged; override; |
|
procedure dofontheightdelta(var delta: integer); override; |
|
procedure sizechanged; override; |
|
function geteditfont: tfont; override; |
|
class function classskininfo: skininfoty; override; |
|
function setdropdowntext(const avalue: msestring; const docheckvalue: boolean; const canceled: boolean; const akey: keyty): boolean; |
|
procedure initeditfocus; |
|
procedure setifilink0(const avalue: tifilinkcomp); |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure internalcreateframe; override; |
|
procedure updatereadonlystate; override; |
|
procedure editnotification(var info: editnotificationinfoty); override; |
|
procedure domousewheelevent(var info: mousewheeleventinfoty); override; |
|
function locatecount: integer; override; |
|
function locatecurrentindex: integer; override; |
|
procedure locatesetcurrentindex(const aindex: integer); override; |
|
function getkeystring(const aindex: integer): msestring; override; |
|
procedure setfirstclick(var ainfo: mouseeventinfoty); virtual; |
|
function createdatalist(const sender: twidgetcol): tdatalist; virtual; abstract; |
|
procedure datalistdestroyed; virtual; |
|
function getdatalistclass: datalistclassty; virtual; abstract; |
|
function getdefaultvalue: pointer; virtual; |
|
function getrowdatapo(const arow: integer): pointer; virtual; |
|
procedure setgridintf(const intf: iwidgetgrid); virtual; |
|
function getcellframe: framety; virtual; |
|
function needscellfocuspaint(): boolean; |
|
function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; virtual; |
|
procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); virtual; |
|
function getnulltext: msestring; virtual; |
|
function getcelltext(const datapo: pointer; out empty: boolean): msestring; |
|
function getiassistiveclient(): iassistiveclient override; |
|
function getassistivecelltext(const arow: int32): msestring; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getassistivetext(): msestring; override; |
|
function getassistivecolumncaption(): msestring virtual; |
|
procedure drawcell(const canvas: tcanvas); virtual; |
|
procedure updateautocellsize(const canvas: tcanvas); virtual; |
|
procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual; |
|
procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual; |
|
procedure valuetogrid(row: integer); virtual; abstract; |
|
procedure gridtovalue(row: integer); virtual; |
|
procedure setvaluedata(const source); virtual; abstract; |
|
procedure getvaluedata(out dest); virtual; abstract; |
|
procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); virtual; |
|
function sortfunc(const l,r): integer; virtual; |
|
procedure gridvaluechanged(const index: integer); virtual; |
|
procedure updatecoloptions(const aoptions: coloptionsty); |
|
procedure updatecoloptions1(const aoptions: coloptions1ty); |
|
procedure setoptionsedit(const avalue: optionseditty); override; |
|
procedure setoptionsedit1(const avalue: optionsedit1ty); override; |
|
procedure statdataread; virtual; |
|
procedure griddatasourcechanged; virtual; |
|
function getifilink: tifilinkcomp; |
|
procedure setparentgridwidget(const intf: igridwidget); |
|
procedure childdataentered(const sender: igridwidget); virtual; |
|
procedure childfocused(const sender: igridwidget); virtual; |
|
procedure formaterror(const quiet: boolean); |
|
procedure rangeerror(const min,max; const quiet: boolean); |
|
procedure notnullerror(const quiet: boolean); |
|
procedure doafterpaint(const canvas: tcanvas); override; |
|
function needsfocuspaint: boolean; override; |
|
procedure dostatread(const reader: tstatreader); virtual; |
|
procedure dostatwrite(const writer: tstatwriter); virtual; |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
procedure readstatvalue(const reader: tstatreader); virtual; |
|
procedure readstatstate(const reader: tstatreader); virtual; |
|
procedure readstatoptions(const reader: tstatreader); virtual; |
|
procedure writestatvalue(const writer: tstatwriter); virtual; |
|
procedure writestatstate(const writer: tstatwriter); virtual; |
|
procedure writestatoptions(const writer: tstatwriter); virtual; |
|
function cangridcopy: boolean; override; |
|
function isempty(const atext: msestring): boolean; virtual; |
|
procedure nullvalueset; |
|
procedure setnullvalue; virtual; |
|
function nullcheckneeded(const newfocus: twidget): boolean; virtual; |
|
function textcellcopy: boolean; virtual; |
|
function getedited: boolean; override; |
|
procedure setedited(const avalue: boolean); virtual; |
|
procedure initnewwidget(const ascale: real); override; |
|
procedure initgridwidget; virtual; |
|
procedure paint(const canvas: tcanvas); override; |
|
procedure synctofontheight; override; |
|
function actualcolor: colorty; override; |
|
function actualcursor(const apos: pointty): cursorshapety; override; |
|
function widgetcol: twidgetcol; |
|
function grid: tcustomwidgetgrid; |
|
function gridrowhigh: int32; |
|
function griddatarowhigh: int32; |
|
function gridcol: integer; |
|
function griddata: tdatalist; |
|
function textclipped(const arow: integer; out acellrect: rectty): boolean; virtual; |
|
function textclipped(const arow: integer): boolean; |
|
function checkvalue(const quiet: boolean = false): boolean; virtual; |
|
function canclose(const newfocus: twidget): boolean; override; |
|
function emptytext: boolean; |
|
function seteditfocus: boolean; |
|
function isnull: boolean; virtual; |
|
Properties
property gridrow: integer read getgridrow write setgridrow; |
|
property gridintf: iwidgetgrid read fgridintf; |
|
property edited: boolean read getedited write setedited; |
|
property disptext: msestring read getdisptext; |
|
property dataeditstate: dataeditstatesty read fstate; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property oncheckvalue: checkvalueeventty read foncheckvalue
write foncheckvalue; |
|
property ondataentered: notifyeventty read fondataentered
write fondataentered; |
|
property ongettext: gettexteventty read fongettext write fongettext; |
|
property onsettext: settexteventty read fonsettext write fonsettext; |
|
property ontextchange: textchangeeventty read fontextchange
write fontextchange; |
|
Generated by PasDoc 0.16.0.