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

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[constrow: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;
 
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[constrow: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;
 

Generated by PasDoc 0.16.0.