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

Overview

Fields

Protected fitemlist: titemviewlist;

Methods

Protected class function classskininfo: skininfoty; override;
Protected procedure setframeinstance(instance: tcustomframe); override;
Protected procedure limitcellwidth(var avalue: integer);
Protected procedure setoptions(const avalue: listviewoptionsty); virtual;
Protected procedure rootchanged(const aflags: rootchangeflagsty); override;
Protected procedure doitemchange(index: integer);
Protected procedure doitemevent(const index: integer; var info: celleventinfoty); virtual;
Protected procedure docellevent(var info: celleventinfoty); override;
Protected function createdatacols: tdatacols; override;
Protected procedure createdatacol(const index: integer; out item: tdatacol); override;
Protected procedure updatelayout; override;
Protected procedure drawfocusedcell(const acanvas: tcanvas); override;
Protected procedure loaded; override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure scrolled(const dist: pointty); override;
Protected procedure dostatread(const reader: tstatreader); override;
Protected procedure dostatwrite(const writer: tstatwriter); override;
Protected function getoptionsedit: optionseditty;
Protected procedure editnotification(var info: editnotificationinfoty);
Protected function hasselection: boolean;
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);
Protected function getedited: boolean;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure synctofontheight; override;
Public function internaldragevent(var info: draginfoty): boolean; override;
Public procedure moveitem(const source,dest: tlistitem; focus: boolean);
Public function indextocell(const index: integer): gridcoordty;
Public function celltoindex(const cell: gridcoordty; limit: boolean): integer;
Public function itematpos(const apos: pointty): tlistitem;
Public function focuseditem: tlistitem;
Public function celltoitem(const acell: gridcoordty): tlistitem;
Public function finditembycaption(const acaption: msestring): tlistitem;
Public function findcellbycaption(const acaption: msestring; var cell: gridcoordty): boolean;
Public function getselecteditems: listitemarty;
Public function getselectedindexes: integerarty;

Properties

Public property focusedindex: integer read getfocusedindex write setfocusedindex;
Public property items[constindex:integer]: tlistitem read getitems write setitems;
Public property editing: boolean read fediting write setediting;
Public property editor: tinplaceedit read feditor;
Public property colorselect: colorty read getcolorselect write setcolorselect default cl_default;
Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_glyph;
Public property colorglyphactive: colorty read fcolorglyphactive write setcolorglyphactive default cl_glyphactive;
Public property glyphversionactive: int32 read fglyphversionactive write setglyphversionactive default 0;
Public property cellwidth: integer read fcellwidth write setcellwidth default defaultcellwidth;
Public property cellheight: integer read getcellheight write setcellheight default defaultcellheight;
Public property cellheightmin: integer read getcellheightmin write setcellheightmin default 1;
Public property cellheightmax: integer read getcellheightmax write setcellheightmax default maxint;
Public property cellwidthmin: integer read fcellwidthmin write setcellwidthmin default defaultcellwidthmin;
Public property cellwidthmax: integer read fcellwidthmax write setcellwidthmax default 0;
Public property cellsize: sizety read getcellsize write setcellsize;
Public property cellframe: tcellframe read getcellframe write setcellframe;
Public property cellcursor: cursorshapety read fcellcursor write setcellcursor default cr_default;
Public property itemlist: titemviewlist read fitemlist write setitemlist;
Public property options: listviewoptionsty read foptions write setoptions default defaultlistviewoptions;
Public property cellfocusrectdist: integer read getcellfocusrectdist write setcellfocusrectdist default 0;
Public property datacollinewidth: integer read getdatacollinewidth write setdatacollinewidth default defaultgridlinewidth;
Public property datacollinecolor: colorty read getdatacollinecolor write setdatacollinecolor default defaultdatalinecolor;
Public property onitemevent: itemeventty read fonitemevent write fonitemevent;
Public property onitemsmoved: gridblockmovedeventty read fonitemsmoved write fonitemsmoved;
Public property optionsgrid default defaultlistviewoptionsgrid;
Public property onselectionchanged: listvieweventty read getonselectionchanged write setonselectionchanged;
Public property onbeforeupdatelayout: listvieweventty read getonbeforeupdatelayout write setonbeforeupdatelayout;
Public property onlayoutchanged: listvieweventty read getonlayoutchanged write setonlayoutchanged;
Public property oncopytoclipboard: updatestringeventty read foncopytoclipboard write foncopytoclipboard;
Public property onpastefromclipboard: updatestringeventty read fonpastefromclipboard write fonpastefromclipboard;

Description

Fields

Protected fitemlist: titemviewlist;
 

Methods

Protected class function classskininfo: skininfoty; override;
 
Protected procedure setframeinstance(instance: tcustomframe); override;
 
Protected procedure limitcellwidth(var avalue: integer);
 
Protected procedure setoptions(const avalue: listviewoptionsty); virtual;
 
Protected procedure rootchanged(const aflags: rootchangeflagsty); override;
 
Protected procedure doitemchange(index: integer);
 
Protected procedure doitemevent(const index: integer; var info: celleventinfoty); virtual;
 
Protected procedure docellevent(var info: celleventinfoty); override;
 
Protected function createdatacols: tdatacols; override;
 
Protected procedure createdatacol(const index: integer; out item: tdatacol); override;
 
Protected procedure updatelayout; override;
 
Protected procedure drawfocusedcell(const acanvas: tcanvas); override;
 
Protected procedure loaded; override;
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure scrolled(const dist: pointty); override;
 
Protected procedure dostatread(const reader: tstatreader); override;
 
Protected procedure dostatwrite(const writer: tstatwriter); override;
 
Protected function getoptionsedit: optionseditty;
 
Protected procedure editnotification(var info: editnotificationinfoty);
 
Protected function hasselection: boolean;
 
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);
 
Protected function getedited: boolean;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure synctofontheight; override;
 
Public function internaldragevent(var info: draginfoty): boolean; override;
 
Public procedure moveitem(const source,dest: tlistitem; focus: boolean);
 
Public function indextocell(const index: integer): gridcoordty;
 
Public function celltoindex(const cell: gridcoordty; limit: boolean): integer;
 
Public function itematpos(const apos: pointty): tlistitem;
 
Public function focuseditem: tlistitem;
 
Public function celltoitem(const acell: gridcoordty): tlistitem;
 
Public function finditembycaption(const acaption: msestring): tlistitem;
 
Public function findcellbycaption(const acaption: msestring; var cell: gridcoordty): boolean;
 
Public function getselecteditems: listitemarty;
 
Public function getselectedindexes: integerarty;
 

Properties

Public property focusedindex: integer read getfocusedindex write setfocusedindex;
 
Public property items[constindex:integer]: tlistitem read getitems write setitems;
 
Public property editing: boolean read fediting write setediting;
 
Public property editor: tinplaceedit read feditor;
 
Public property colorselect: colorty read getcolorselect write setcolorselect default cl_default;
 
Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_glyph;
 
Public property colorglyphactive: colorty read fcolorglyphactive write setcolorglyphactive default cl_glyphactive;
 
Public property glyphversionactive: int32 read fglyphversionactive write setglyphversionactive default 0;
 
Public property cellwidth: integer read fcellwidth write setcellwidth default defaultcellwidth;
 
Public property cellheight: integer read getcellheight write setcellheight default defaultcellheight;
 
Public property cellheightmin: integer read getcellheightmin write setcellheightmin default 1;
 
Public property cellheightmax: integer read getcellheightmax write setcellheightmax default maxint;
 
Public property cellwidthmin: integer read fcellwidthmin write setcellwidthmin default defaultcellwidthmin;
 
Public property cellwidthmax: integer read fcellwidthmax write setcellwidthmax default 0;
 
Public property cellsize: sizety read getcellsize write setcellsize;
 
Public property cellframe: tcellframe read getcellframe write setcellframe;
 
Public property cellcursor: cursorshapety read fcellcursor write setcellcursor default cr_default;
 
Public property itemlist: titemviewlist read fitemlist write setitemlist;
 
Public property options: listviewoptionsty read foptions write setoptions default defaultlistviewoptions;
 
Public property cellfocusrectdist: integer read getcellfocusrectdist write setcellfocusrectdist default 0;
 
Public property datacollinewidth: integer read getdatacollinewidth write setdatacollinewidth default defaultgridlinewidth;
 
Public property datacollinecolor: colorty read getdatacollinecolor write setdatacollinecolor default defaultdatalinecolor;
 
Public property onitemevent: itemeventty read fonitemevent write fonitemevent;
 
Public property onitemsmoved: gridblockmovedeventty read fonitemsmoved write fonitemsmoved;
 
Public property optionsgrid default defaultlistviewoptionsgrid;
 
Public property onselectionchanged: listvieweventty read getonselectionchanged write setonselectionchanged;
 
Public property onbeforeupdatelayout: listvieweventty read getonbeforeupdatelayout write setonbeforeupdatelayout;
 
Public property onlayoutchanged: listvieweventty read getonlayoutchanged write setonlayoutchanged;
 
Public property oncopytoclipboard: updatestringeventty read foncopytoclipboard write foncopytoclipboard;
 
Public property onpastefromclipboard: updatestringeventty read fonpastefromclipboard write fonpastefromclipboard;
 

Generated by PasDoc 0.16.0.