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