Class tcustomlistview
Unit
Declaration
type tcustomlistview = class(tcellgrid, iedit)
Description
No description available, ancestor tcellgrid description follows
No description available, ancestor tcustomgrid 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
- tcustomgrid
- tcellgrid
- tcustomlistview
Overview
Fields
fitemlist: titemviewlist; |
Methods
class function classskininfo: skininfoty; override; |
|
procedure setframeinstance(instance: tcustomframe); override; |
|
procedure limitcellwidth(var avalue: integer); |
|
procedure setoptions(const avalue: listviewoptionsty); virtual; |
|
procedure rootchanged(const aflags: rootchangeflagsty); override; |
|
procedure doitemchange(index: integer); |
|
procedure doitemevent(const index: integer; var info: celleventinfoty); virtual; |
|
procedure docellevent(var info: celleventinfoty); override; |
|
function createdatacols: tdatacols; override; |
|
procedure createdatacol(const index: integer; out item: tdatacol); override; |
|
procedure updatelayout; override; |
|
procedure drawfocusedcell(const acanvas: tcanvas); override; |
|
procedure loaded; override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure scrolled(const dist: pointty); override; |
|
procedure dostatread(const reader: tstatreader); override; |
|
procedure dostatwrite(const writer: tstatwriter); override; |
|
function getoptionsedit: optionseditty; |
|
procedure editnotification(var info: editnotificationinfoty); |
|
function hasselection: boolean; |
|
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); |
|
function getedited: boolean; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure synctofontheight; override; |
|
function internaldragevent(var info: draginfoty): boolean; override; |
|
procedure moveitem(const source,dest: tlistitem; focus: boolean); |
|
function indextocell(const index: integer): gridcoordty; |
|
function celltoindex(const cell: gridcoordty; limit: boolean): integer; |
|
function itematpos(const apos: pointty): tlistitem; |
|
function focuseditem: tlistitem; |
|
function celltoitem(const acell: gridcoordty): tlistitem; |
|
function finditembycaption(const acaption: msestring): tlistitem; |
|
function findcellbycaption(const acaption: msestring; var cell: gridcoordty): boolean; |
|
function getselecteditems: listitemarty; |
|
function getselectedindexes: integerarty; |
Properties
property focusedindex: integer read getfocusedindex write setfocusedindex; |
|
property items[constindex:integer]: tlistitem read getitems
write setitems; |
|
property editing: boolean read fediting write setediting; |
|
property editor: tinplaceedit read feditor; |
|
property colorselect: colorty read getcolorselect
write setcolorselect default cl_default; |
|
property colorglyph: colorty read fcolorglyph
write setcolorglyph default cl_glyph; |
|
property colorglyphactive: colorty read fcolorglyphactive
write setcolorglyphactive default cl_glyphactive; |
|
property glyphversionactive: int32 read fglyphversionactive write
setglyphversionactive default 0; |
|
property cellwidth: integer read fcellwidth write setcellwidth
default defaultcellwidth; |
|
property cellheight: integer read getcellheight write setcellheight
default defaultcellheight; |
|
property cellheightmin: integer read getcellheightmin write setcellheightmin
default 1; |
|
property cellheightmax: integer read getcellheightmax write setcellheightmax
default maxint; |
|
property cellwidthmin: integer read fcellwidthmin
write setcellwidthmin default defaultcellwidthmin; |
|
property cellwidthmax: integer read fcellwidthmax
write setcellwidthmax default 0; |
|
property cellsize: sizety read getcellsize write setcellsize; |
|
property cellframe: tcellframe read getcellframe write setcellframe; |
|
property cellcursor: cursorshapety read fcellcursor write setcellcursor
default cr_default; |
|
property itemlist: titemviewlist read fitemlist write setitemlist; |
|
property options: listviewoptionsty read foptions write setoptions
default defaultlistviewoptions; |
|
property cellfocusrectdist: integer read getcellfocusrectdist
write setcellfocusrectdist default 0; |
|
property datacollinewidth: integer read getdatacollinewidth
write setdatacollinewidth default defaultgridlinewidth; |
|
property datacollinecolor: colorty read getdatacollinecolor
write setdatacollinecolor default defaultdatalinecolor; |
|
property onitemevent: itemeventty read fonitemevent write fonitemevent; |
|
property onitemsmoved: gridblockmovedeventty read fonitemsmoved
write fonitemsmoved; |
|
property optionsgrid default defaultlistviewoptionsgrid; |
|
property onselectionchanged: listvieweventty read getonselectionchanged
write setonselectionchanged; |
|
property onbeforeupdatelayout: listvieweventty read getonbeforeupdatelayout
write setonbeforeupdatelayout; |
|
property onlayoutchanged: listvieweventty read getonlayoutchanged
write setonlayoutchanged; |
|
property oncopytoclipboard: updatestringeventty read foncopytoclipboard
write foncopytoclipboard; |
|
property onpastefromclipboard: updatestringeventty read fonpastefromclipboard
write fonpastefromclipboard; |
Description
Fields
fitemlist: titemviewlist; |
|
Methods
class function classskininfo: skininfoty; override; |
|
procedure setframeinstance(instance: tcustomframe); override; |
|
procedure limitcellwidth(var avalue: integer); |
|
procedure setoptions(const avalue: listviewoptionsty); virtual; |
|
procedure rootchanged(const aflags: rootchangeflagsty); override; |
|
procedure doitemchange(index: integer); |
|
procedure doitemevent(const index: integer; var info: celleventinfoty); virtual; |
|
procedure docellevent(var info: celleventinfoty); override; |
|
function createdatacols: tdatacols; override; |
|
procedure createdatacol(const index: integer; out item: tdatacol); override; |
|
procedure updatelayout; override; |
|
procedure drawfocusedcell(const acanvas: tcanvas); override; |
|
procedure loaded; override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure scrolled(const dist: pointty); override; |
|
procedure dostatread(const reader: tstatreader); override; |
|
procedure dostatwrite(const writer: tstatwriter); override; |
|
function getoptionsedit: optionseditty; |
|
procedure editnotification(var info: editnotificationinfoty); |
|
function hasselection: boolean; |
|
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); |
|
function getedited: boolean; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure synctofontheight; override; |
|
function internaldragevent(var info: draginfoty): boolean; override; |
|
procedure moveitem(const source,dest: tlistitem; focus: boolean); |
|
function indextocell(const index: integer): gridcoordty; |
|
function celltoindex(const cell: gridcoordty; limit: boolean): integer; |
|
function itematpos(const apos: pointty): tlistitem; |
|
function focuseditem: tlistitem; |
|
function celltoitem(const acell: gridcoordty): tlistitem; |
|
function finditembycaption(const acaption: msestring): tlistitem; |
|
function findcellbycaption(const acaption: msestring; var cell: gridcoordty): boolean; |
|
function getselecteditems: listitemarty; |
|
function getselectedindexes: integerarty; |
|
Properties
property focusedindex: integer read getfocusedindex write setfocusedindex; |
|
property items[constindex:integer]: tlistitem read getitems
write setitems; |
|
property editing: boolean read fediting write setediting; |
|
property editor: tinplaceedit read feditor; |
|
property colorselect: colorty read getcolorselect
write setcolorselect default cl_default; |
|
property colorglyph: colorty read fcolorglyph
write setcolorglyph default cl_glyph; |
|
property colorglyphactive: colorty read fcolorglyphactive
write setcolorglyphactive default cl_glyphactive; |
|
property glyphversionactive: int32 read fglyphversionactive write
setglyphversionactive default 0; |
|
property cellwidth: integer read fcellwidth write setcellwidth
default defaultcellwidth; |
|
property cellheight: integer read getcellheight write setcellheight
default defaultcellheight; |
|
property cellheightmin: integer read getcellheightmin write setcellheightmin
default 1; |
|
property cellheightmax: integer read getcellheightmax write setcellheightmax
default maxint; |
|
property cellwidthmin: integer read fcellwidthmin
write setcellwidthmin default defaultcellwidthmin; |
|
property cellwidthmax: integer read fcellwidthmax
write setcellwidthmax default 0; |
|
property cellsize: sizety read getcellsize write setcellsize; |
|
property cellframe: tcellframe read getcellframe write setcellframe; |
|
property cellcursor: cursorshapety read fcellcursor write setcellcursor
default cr_default; |
|
property itemlist: titemviewlist read fitemlist write setitemlist; |
|
property options: listviewoptionsty read foptions write setoptions
default defaultlistviewoptions; |
|
property cellfocusrectdist: integer read getcellfocusrectdist
write setcellfocusrectdist default 0; |
|
property datacollinewidth: integer read getdatacollinewidth
write setdatacollinewidth default defaultgridlinewidth; |
|
property datacollinecolor: colorty read getdatacollinecolor
write setdatacollinecolor default defaultdatalinecolor; |
|
property onitemevent: itemeventty read fonitemevent write fonitemevent; |
|
property onitemsmoved: gridblockmovedeventty read fonitemsmoved
write fonitemsmoved; |
|
property optionsgrid default defaultlistviewoptionsgrid; |
|
property onselectionchanged: listvieweventty read getonselectionchanged
write setonselectionchanged; |
|
property onbeforeupdatelayout: listvieweventty read getonbeforeupdatelayout
write setonbeforeupdatelayout; |
|
property onlayoutchanged: listvieweventty read getonlayoutchanged
write setonlayoutchanged; |
|
property oncopytoclipboard: updatestringeventty read foncopytoclipboard
write foncopytoclipboard; |
|
property onpastefromclipboard: updatestringeventty read fonpastefromclipboard
write fonpastefromclipboard; |
|
Generated by PasDoc 0.16.0.