Class tcustomlistview

Unit

Declaration

type tcustomlistview = class(tcellgrid, iedit)

Description

This item has no description.

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[const index: 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;

This item has no description.

Methods

Protected class function classskininfo: skininfoty; override;

This item has no description.

Protected procedure setframeinstance(instance: tcustomframe); override;

This item has no description.

Protected procedure limitcellwidth(var avalue: integer);

This item has no description.

Protected procedure setoptions(const avalue: listviewoptionsty); virtual;

This item has no description.

Protected procedure rootchanged(const aflags: rootchangeflagsty); override;

This item has no description.

Protected procedure doitemchange(index: integer);

This item has no description.

Protected procedure doitemevent(const index: integer; var info: celleventinfoty); virtual;

This item has no description.

Protected procedure docellevent(var info: celleventinfoty); override;

This item has no description.

Protected function createdatacols: tdatacols; override;

This item has no description.

Protected procedure createdatacol(const index: integer; out item: tdatacol); override;

This item has no description.

Protected procedure updatelayout; override;

This item has no description.

Protected procedure drawfocusedcell(const acanvas: tcanvas); override;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected procedure dokeydown(var info: keyeventinfoty); override;

This item has no description.

Protected procedure scrolled(const dist: pointty); override;

This item has no description.

Protected procedure dostatread(const reader: tstatreader); override;

This item has no description.

Protected procedure dostatwrite(const writer: tstatwriter); override;

This item has no description.

Protected function getoptionsedit: optionseditty;

This item has no description.

Protected procedure editnotification(var info: editnotificationinfoty);

This item has no description.

Protected function hasselection: boolean;

This item has no description.

Protected procedure updatecopytoclipboard(var atext: msestring); virtual;

This item has no description.

Protected procedure updatepastefromclipboard(var atext: msestring); virtual;

This item has no description.

Protected function locatecount: integer; virtual;

This item has no description.

Protected function locatecurrentindex: integer; virtual;

This item has no description.

Protected procedure locatesetcurrentindex(const aindex: integer);

This item has no description.

Protected function getedited: boolean;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure synctofontheight; override;

This item has no description.

Public function internaldragevent(var info: draginfoty): boolean; override;

This item has no description.

Public procedure moveitem(const source,dest: tlistitem; focus: boolean);

This item has no description.

Public function indextocell(const index: integer): gridcoordty;

This item has no description.

Public function celltoindex(const cell: gridcoordty; limit: boolean): integer;

This item has no description.

Public function itematpos(const apos: pointty): tlistitem;

This item has no description.

Public function focuseditem: tlistitem;

This item has no description.

Public function celltoitem(const acell: gridcoordty): tlistitem;

This item has no description.

Public function finditembycaption(const acaption: msestring): tlistitem;

This item has no description.

Public function findcellbycaption(const acaption: msestring; var cell: gridcoordty): boolean;

This item has no description.

Public function getselecteditems: listitemarty;

This item has no description.

Public function getselectedindexes: integerarty;

This item has no description.

Properties

Public property focusedindex: integer read getfocusedindex write setfocusedindex;

This item has no description.

Public property items[const index: integer]: tlistitem read getitems write setitems;

This item has no description.

Public property editing: boolean read fediting write setediting;

This item has no description.

Public property editor: tinplaceedit read feditor;

This item has no description.

Public property colorselect: colorty read getcolorselect write setcolorselect default cl_default;

This item has no description.

Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_glyph;

This item has no description.

Public property colorglyphactive: colorty read fcolorglyphactive write setcolorglyphactive default cl_glyphactive;

This item has no description.

Public property glyphversionactive: int32 read fglyphversionactive write setglyphversionactive default 0;

This item has no description.

Public property cellwidth: integer read fcellwidth write setcellwidth default defaultcellwidth;

This item has no description.

Public property cellheight: integer read getcellheight write setcellheight default defaultcellheight;

This item has no description.

Public property cellheightmin: integer read getcellheightmin write setcellheightmin default 1;

This item has no description.

Public property cellheightmax: integer read getcellheightmax write setcellheightmax default maxint;

This item has no description.

Public property cellwidthmin: integer read fcellwidthmin write setcellwidthmin default defaultcellwidthmin;

This item has no description.

Public property cellwidthmax: integer read fcellwidthmax write setcellwidthmax default 0;

This item has no description.

Public property cellsize: sizety read getcellsize write setcellsize;

This item has no description.

Public property cellframe: tcellframe read getcellframe write setcellframe;

This item has no description.

Public property cellcursor: cursorshapety read fcellcursor write setcellcursor default cr_default;

This item has no description.

Public property itemlist: titemviewlist read fitemlist write setitemlist;

This item has no description.

Public property options: listviewoptionsty read foptions write setoptions default defaultlistviewoptions;

This item has no description.

Public property cellfocusrectdist: integer read getcellfocusrectdist write setcellfocusrectdist default 0;

This item has no description.

Public property datacollinewidth: integer read getdatacollinewidth write setdatacollinewidth default defaultgridlinewidth;

This item has no description.

Public property datacollinecolor: colorty read getdatacollinecolor write setdatacollinecolor default defaultdatalinecolor;

This item has no description.

Public property onitemevent: itemeventty read fonitemevent write fonitemevent;

This item has no description.

Public property onitemsmoved: gridblockmovedeventty read fonitemsmoved write fonitemsmoved;

This item has no description.

Public property optionsgrid default defaultlistviewoptionsgrid;

This item has no description.

Public property onselectionchanged: listvieweventty read getonselectionchanged write setonselectionchanged;

This item has no description.

Public property onbeforeupdatelayout: listvieweventty read getonbeforeupdatelayout write setonbeforeupdatelayout;

This item has no description.

Public property onlayoutchanged: listvieweventty read getonlayoutchanged write setonlayoutchanged;

This item has no description.

Public property oncopytoclipboard: updatestringeventty read foncopytoclipboard write foncopytoclipboard;

This item has no description.

Public property onpastefromclipboard: updatestringeventty read fonpastefromclipboard write fonpastefromclipboard;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.