Class tdatacol
Unit
Declaration
type tdatacol = class(tcol)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- townedeventpersistent
- tindexpersistent
- tgridprop
- tcol
- tdatacol
Overview
Fields
| Protected | fdata: tdatalist; |
| Protected | fname: string; |
| Protected | fnameb: string; |
| Protected | fonchange: datacolchangeeventty; |
Methods
| Protected | function getmerged(const row: integer): boolean; override; |
| Protected | procedure setmerged(const row: integer; const avalue: boolean); override; |
| Protected | procedure beginselect; |
| Protected | procedure endselect; |
| Protected | function getdatapo(const arow: integer): pointer; override; |
| Protected | function getrowdatapo: pointer; |
| Protected | procedure beforedragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); virtual; |
| Protected | procedure afterdragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); virtual; |
| Protected | procedure doselectionchanged; |
| Protected | procedure setselected(const row: integer; value: boolean); virtual; |
| Protected | function getselected(const row: integer): boolean; override; |
| Protected | procedure setoptions(const Value: coloptionsty); override; |
| Protected | function createdatalist: tdatalist; virtual; |
| Protected | procedure rowcountchanged(const newcount: integer); override; |
| Protected | procedure docellfocuschanged(enter: boolean; const cellbefore: gridcoordty; var newcell: gridcoordty; const selectaction: focuscellactionty); virtual; |
| Protected | procedure doactivate; virtual; |
| Protected | procedure dodeactivate; virtual; |
| Protected | procedure clientmouseevent(const acell: gridcoordty; var info: mouseeventinfoty); virtual; |
| Protected | procedure dokeyevent(var info: keyeventinfoty; up: boolean); virtual; |
| Protected | procedure checkdirtyautorowheight(aindex: integer); |
| Protected | procedure afterrowcountupdate; virtual; |
| Protected | procedure datachange(const arow: integer); virtual; |
| Protected | procedure itemchanged(const sender: tdatalist; const aindex: integer); virtual; |
| Protected | procedure updatewidth(var avalue: integer); override; |
| Protected | procedure updatelayout; override; |
| Protected | procedure moverow(const fromindex,toindex: integer; const count: integer = 1); override; |
| Protected | procedure insertrow(const aindex: integer; const count: integer = 1); override; |
| Protected | procedure deleterow(const aindex: integer; const count: integer = 1); override; |
| Protected | procedure rearange(const list: integerarty); override; |
| Protected | function sortcompare(const index1,index2: integer): integer; virtual; |
| Protected | function sortcomparecaseinsensitive( const index1,index2: integer): integer; virtual; |
| Protected | function isempty(const aindex: integer): boolean; virtual; |
| Protected | procedure docellevent(var info: celleventinfoty); virtual; |
| Protected | function getcursor(const arow: integer; const actcellzone: cellzonety; const amousepos: pointty): cursorshapety; virtual; |
| Protected | function getdatastatname: msestring; |
| Protected | function getstatsuffix(): msestring; |
| Protected | procedure coloptionstoeditoptions(var dest: optionseditty; var dest1: optionsedit1ty); |
| Protected | procedure clean(const start,stop: integer); override; |
| Protected | function defaultrowheight: integer; virtual; |
| Public | constructor create(const agrid: tcustomgrid; const aowner: tgridarrayprop); override; |
| Public | destructor destroy; override; |
| Public | function canfocus(const abutton: mousebuttonty; const ashiftstate: shiftstatesty; const noreadonly: boolean; out canrowfocus: boolean): boolean; virtual; |
| Public | function isreadonly: boolean; |
| Public | procedure updatecellzone(const row: integer; const pos: pointty; var result: cellzonety); virtual; |
| Public | procedure autocellheightchanged(const aindex: integer); |
| Public | procedure autocellwidthchanged(const aindex: integer); |
| Public | procedure dostatread(const reader: tstatreader); override; |
| Public | procedure dostatwrite(const writer: tstatwriter); override; |
| Public | procedure clearselection; |
| Public | function defaultcaption(): msestring; |
Properties
| Public | property datalist: tdatalist read fdata write setdata; |
| Public | property merged; |
| Public | property selected[const row: integer]: boolean read getselected write setselected; |
| Public | property selectedcells: integerarty read getselectedcells
write setselectedcells; |
| Public | property selectedcellcount: int32 read fselectedrowcount; |
| Public | property cellorigin: pointty read getcellorigin; |
| Public | property visible: boolean read getvisible write setvisible; |
| Public | property enabled: boolean read getenabled write setenabled; |
| Public | property readonly: boolean read getreadonly write setreadonly; |
| Public | property sortdescend: boolean read getsortdescend write setsortdescend; |
| Published | property options default defaultdatacoloptions; |
| Published | property options1 default defaultdatacoloptions1; |
| Published | property widthmin: integer read fwidthmin write setwidthmin default 1; |
| Published | property widthmax: integer read fwidthmax write setwidthmax default 0; |
| Published | property name: string read fname write fname; |
| Published | property nameb: string read fnameb write fnameb; |
| Published | property onchange: datacolchangeeventty read fonchange write fonchange; |
| Published | property oncellevent: celleventty read foncellevent write foncellevent; |
| Published | property onshowhint: showcolhinteventty read fonshowhint write fonshowhint; |
| Published | property onselectionchanged: datacoleventty read fonselectionchanged write
fonselectionchanged; |
| Published | property linecolor default defaultdatalinecolor; |
Description
Fields
| Protected | fdata: tdatalist; |
|
This item has no description. | |
| Protected | fname: string; |
|
This item has no description. | |
| Protected | fnameb: string; |
|
This item has no description. | |
| Protected | fonchange: datacolchangeeventty; |
|
This item has no description. | |
Methods
| Protected | function getmerged(const row: integer): boolean; override; |
|
This item has no description. | |
| Protected | procedure setmerged(const row: integer; const avalue: boolean); override; |
|
This item has no description. | |
| Protected | procedure beginselect; |
|
This item has no description. | |
| Protected | procedure endselect; |
|
This item has no description. | |
| Protected | function getdatapo(const arow: integer): pointer; override; |
|
This item has no description. | |
| Protected | function getrowdatapo: pointer; |
|
This item has no description. | |
| Protected | procedure beforedragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); virtual; |
|
This item has no description. | |
| Protected | procedure afterdragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); virtual; |
|
This item has no description. | |
| Protected | procedure doselectionchanged; |
|
This item has no description. | |
| Protected | procedure setselected(const row: integer; value: boolean); virtual; |
|
This item has no description. | |
| Protected | function getselected(const row: integer): boolean; override; |
|
This item has no description. | |
| Protected | procedure setoptions(const Value: coloptionsty); override; |
|
This item has no description. | |
| Protected | function createdatalist: tdatalist; virtual; |
|
This item has no description. | |
| Protected | procedure rowcountchanged(const newcount: integer); override; |
|
This item has no description. | |
| Protected | procedure docellfocuschanged(enter: boolean; const cellbefore: gridcoordty; var newcell: gridcoordty; const selectaction: focuscellactionty); virtual; |
|
This item has no description. | |
| Protected | procedure doactivate; virtual; |
|
This item has no description. | |
| Protected | procedure dodeactivate; virtual; |
|
This item has no description. | |
| Protected | procedure clientmouseevent(const acell: gridcoordty; var info: mouseeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure dokeyevent(var info: keyeventinfoty; up: boolean); virtual; |
|
This item has no description. | |
| Protected | procedure checkdirtyautorowheight(aindex: integer); |
|
This item has no description. | |
| Protected | procedure afterrowcountupdate; virtual; |
|
This item has no description. | |
| Protected | procedure datachange(const arow: integer); virtual; |
|
This item has no description. | |
| Protected | procedure itemchanged(const sender: tdatalist; const aindex: integer); virtual; |
|
This item has no description. | |
| Protected | procedure updatewidth(var avalue: integer); override; |
|
This item has no description. | |
| Protected | procedure updatelayout; override; |
|
This item has no description. | |
| Protected | procedure moverow(const fromindex,toindex: integer; const count: integer = 1); override; |
|
This item has no description. | |
| Protected | procedure insertrow(const aindex: integer; const count: integer = 1); override; |
|
This item has no description. | |
| Protected | procedure deleterow(const aindex: integer; const count: integer = 1); override; |
|
This item has no description. | |
| Protected | procedure rearange(const list: integerarty); override; |
|
This item has no description. | |
| Protected | function sortcompare(const index1,index2: integer): integer; virtual; |
|
This item has no description. | |
| Protected | function sortcomparecaseinsensitive( const index1,index2: integer): integer; virtual; |
|
This item has no description. | |
| Protected | function isempty(const aindex: integer): boolean; virtual; |
|
This item has no description. | |
| Protected | procedure docellevent(var info: celleventinfoty); virtual; |
|
This item has no description. | |
| Protected | function getcursor(const arow: integer; const actcellzone: cellzonety; const amousepos: pointty): cursorshapety; virtual; |
|
This item has no description. | |
| Protected | function getdatastatname: msestring; |
|
This item has no description. | |
| Protected | function getstatsuffix(): msestring; |
|
This item has no description. | |
| Protected | procedure coloptionstoeditoptions(var dest: optionseditty; var dest1: optionsedit1ty); |
|
This item has no description. | |
| Protected | procedure clean(const start,stop: integer); override; |
|
This item has no description. | |
| Protected | function defaultrowheight: integer; virtual; |
|
This item has no description. | |
| Public | constructor create(const agrid: tcustomgrid; const aowner: tgridarrayprop); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | function canfocus(const abutton: mousebuttonty; const ashiftstate: shiftstatesty; const noreadonly: boolean; out canrowfocus: boolean): boolean; virtual; |
|
This item has no description. | |
| Public | function isreadonly: boolean; |
|
This item has no description. | |
| Public | procedure updatecellzone(const row: integer; const pos: pointty; var result: cellzonety); virtual; |
|
This item has no description. | |
| Public | procedure autocellheightchanged(const aindex: integer); |
|
This item has no description. | |
| Public | procedure autocellwidthchanged(const aindex: integer); |
|
This item has no description. | |
| Public | procedure dostatread(const reader: tstatreader); override; |
|
This item has no description. | |
| Public | procedure dostatwrite(const writer: tstatwriter); override; |
|
This item has no description. | |
| Public | procedure clearselection; |
|
This item has no description. | |
| Public | function defaultcaption(): msestring; |
|
This item has no description. | |
Properties
| Public | property datalist: tdatalist read fdata write setdata; |
|
This item has no description. | |
| Public | property merged; |
|
This item has no description. | |
| Public | property selected[const row: integer]: boolean read getselected write setselected; |
|
This item has no description. | |
| Public | property selectedcells: integerarty read getselectedcells
write setselectedcells; |
|
This item has no description. | |
| Public | property selectedcellcount: int32 read fselectedrowcount; |
|
This item has no description. | |
| Public | property cellorigin: pointty read getcellorigin; |
|
This item has no description. | |
| Public | property visible: boolean read getvisible write setvisible; |
|
This item has no description. | |
| Public | property enabled: boolean read getenabled write setenabled; |
|
This item has no description. | |
| Public | property readonly: boolean read getreadonly write setreadonly; |
|
This item has no description. | |
| Public | property sortdescend: boolean read getsortdescend write setsortdescend; |
|
This item has no description. | |
| Published | property options default defaultdatacoloptions; |
|
This item has no description. | |
| Published | property options1 default defaultdatacoloptions1; |
|
This item has no description. | |
| Published | property widthmin: integer read fwidthmin write setwidthmin default 1; |
|
This item has no description. | |
| Published | property widthmax: integer read fwidthmax write setwidthmax default 0; |
|
This item has no description. | |
| Published | property name: string read fname write fname; |
|
This item has no description. | |
| Published | property nameb: string read fnameb write fnameb; |
|
This item has no description. | |
| Published | property onchange: datacolchangeeventty read fonchange write fonchange; |
|
This item has no description. | |
| Published | property oncellevent: celleventty read foncellevent write foncellevent; |
|
This item has no description. | |
| Published | property onshowhint: showcolhinteventty read fonshowhint write fonshowhint; |
|
This item has no description. | |
| Published | property onselectionchanged: datacoleventty read fonselectionchanged write
fonselectionchanged; |
|
This item has no description. | |
| Published | property linecolor default defaultdatalinecolor; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.