Class tcol
Unit
Declaration
type tcol = class(tgridprop)
Description
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
Overview
Fields
foptions1: coloptions1ty; |
|
fwidth: integer; |
|
fpropwidth: real; |
|
ffontselect: tcolselectfont; |
|
ffocusrectdist: integer; |
|
fmaxwidth: integer; |
Methods
function getenabled: boolean; |
|
procedure setenabled(const avalue: boolean); |
|
function checkautocolwidth: boolean; |
|
procedure updatecolwidth(const arow,acount: integer; var acolwidth: integer); |
|
procedure createfontselect; |
|
function getselected(const row: integer): boolean; virtual; |
|
procedure updatewidth(var avalue: integer); virtual; |
|
procedure setwidth(const Value: integer); virtual; |
|
procedure invalidatelayout; |
|
procedure setoptions(const Value: coloptionsty); virtual; |
|
procedure setoptions1(const avalue: coloptions1ty); virtual; |
|
procedure updatelayout; override; |
|
procedure rearange(const list: integerarty); virtual; abstract; |
|
procedure checkmaxwidth; |
|
function checkactivecolor(const aindex: integer): boolean; |
|
function checkfocusedcolor(const aindex: integer): boolean; |
|
function isopaque: boolean; virtual; |
|
function needsfocusrect: boolean; virtual; |
|
function getdatapo(const arow: integer): pointer; virtual; |
|
procedure clean(const start,stop: integer); virtual; |
|
procedure paint(var info: colpaintinfoty); virtual; |
|
class function defaultstep(width: integer): integer; virtual; |
|
function step(getscrollable: boolean = true): integer; override; |
|
function scrollable: boolean; override; |
|
procedure dobeforedrawcell(const acanvas: tcanvas; var processed: boolean); virtual; |
|
procedure doafterdrawcell(const acanvas: tcanvas); virtual; |
|
procedure drawcell(const acanvas: tcanvas); virtual; |
|
procedure drawfocusedcell(const acanvas: tcanvas); virtual; |
|
procedure rowcountchanged(const newcount: integer); virtual; |
|
procedure drawfocus(const acanvas: tcanvas); virtual; |
|
procedure moverow(const curindex,newindex: integer; const count: integer = 1); virtual; abstract; |
|
procedure insertrow(const aindex: integer; const count: integer = 1); virtual; abstract; |
|
procedure deleterow(const aindex: integer; const count: integer = 1); virtual; abstract; |
|
function getmerged(const row: integer): boolean; virtual; |
|
procedure setmerged(const row: integer; const avalue: boolean); virtual; |
|
constructor create(const agrid: tcustomgrid; const aowner: tgridarrayprop); override; |
|
destructor destroy; override; |
|
procedure invalidate; |
|
procedure invalidatecell(const arow: integer); |
|
procedure invalidatemaxsize(const arow: integer = -1); virtual; |
|
function rowcolor(const aindex: integer): colorty; |
|
function rowfont(const aindex: integer): tfont; |
|
procedure changed; override; |
|
procedure cellchanged(const row: integer); virtual; |
|
function actualcolor: colorty; |
|
function actualfont: tfont; virtual; |
|
function maxwidth: integer; |
|
function minmaxwidth(): integer; |
|
function translatetocell(const arow: integer; const apos: pointty): pointty; |
Properties
property options: coloptionsty read foptions write setoptions; |
|
property options1: coloptions1ty read foptions1 write setoptions1 default []; |
|
property focusrectdist: integer read ffocusrectdist write setfocusrectdist
default 0; |
|
property merged[constrow:integer]: boolean read getmerged write setmerged; |
|
property colindex: integer read getcolindex; |
|
property visible: boolean read getvisible write setvisible; |
|
property enabled: boolean read getenabled write setenabled; |
|
property readonly: boolean read getreadonly write setreadonly; |
|
property width: integer read fwidth write setwidth
default griddefaultcolwidth; |
|
property rowcoloroffset: integer read frowcoloroffset
write setrowcoloroffset default 0; |
|
property rowcoloroffsetselect: integer read frowcoloroffsetselect
write setrowcoloroffsetselect default 0; |
|
property rowfontoffset: integer read frowfontoffset write
setrowfontoffset default 0; |
|
property rowfontoffsetselect: integer read frowfontoffsetselect write
setrowfontoffsetselect default 0; |
|
property fontselect: tcolselectfont read getfontselect write
setfontselect stored isfontselectstored; |
|
property fontactivenum: integer read ffontactivenum
write setfontactivenum default -1; |
|
property fontfocusednum: integer read ffontfocusednum
write setfontfocusednum default -1; |
|
property onbeforedrawcell: beforedrawcelleventty read fonbeforedrawcell
write fonbeforedrawcell; |
|
property onafterdrawcell: drawcelleventty read fonafterdrawcell
write fonafterdrawcell; |
Description
Fields
foptions1: coloptions1ty; |
|
fwidth: integer; |
|
fpropwidth: real; |
|
ffontselect: tcolselectfont; |
|
ffocusrectdist: integer; |
|
fmaxwidth: integer; |
|
Methods
function getenabled: boolean; |
|
procedure setenabled(const avalue: boolean); |
|
function checkautocolwidth: boolean; |
|
procedure updatecolwidth(const arow,acount: integer; var acolwidth: integer); |
|
procedure createfontselect; |
|
function getselected(const row: integer): boolean; virtual; |
|
procedure updatewidth(var avalue: integer); virtual; |
|
procedure setwidth(const Value: integer); virtual; |
|
procedure invalidatelayout; |
|
procedure setoptions(const Value: coloptionsty); virtual; |
|
procedure setoptions1(const avalue: coloptions1ty); virtual; |
|
procedure updatelayout; override; |
|
procedure rearange(const list: integerarty); virtual; abstract; |
|
procedure checkmaxwidth; |
|
function checkactivecolor(const aindex: integer): boolean; |
|
function checkfocusedcolor(const aindex: integer): boolean; |
|
function isopaque: boolean; virtual; |
|
function needsfocusrect: boolean; virtual; |
|
function getdatapo(const arow: integer): pointer; virtual; |
|
procedure clean(const start,stop: integer); virtual; |
|
procedure paint(var info: colpaintinfoty); virtual; |
|
class function defaultstep(width: integer): integer; virtual; |
|
function step(getscrollable: boolean = true): integer; override; |
|
function scrollable: boolean; override; |
|
procedure dobeforedrawcell(const acanvas: tcanvas; var processed: boolean); virtual; |
|
procedure doafterdrawcell(const acanvas: tcanvas); virtual; |
|
procedure drawcell(const acanvas: tcanvas); virtual; |
|
procedure drawfocusedcell(const acanvas: tcanvas); virtual; |
|
procedure rowcountchanged(const newcount: integer); virtual; |
|
procedure drawfocus(const acanvas: tcanvas); virtual; |
|
procedure moverow(const curindex,newindex: integer; const count: integer = 1); virtual; abstract; |
|
procedure insertrow(const aindex: integer; const count: integer = 1); virtual; abstract; |
|
procedure deleterow(const aindex: integer; const count: integer = 1); virtual; abstract; |
|
function getmerged(const row: integer): boolean; virtual; |
|
procedure setmerged(const row: integer; const avalue: boolean); virtual; |
|
constructor create(const agrid: tcustomgrid; const aowner: tgridarrayprop); override; |
|
destructor destroy; override; |
|
procedure invalidate; |
|
procedure invalidatecell(const arow: integer); |
|
procedure invalidatemaxsize(const arow: integer = -1); virtual; |
|
function rowcolor(const aindex: integer): colorty; |
|
function rowfont(const aindex: integer): tfont; |
|
procedure changed; override; |
|
procedure cellchanged(const row: integer); virtual; |
|
function actualcolor: colorty; |
|
function actualfont: tfont; virtual; |
|
function maxwidth: integer; |
|
function minmaxwidth(): integer; |
|
function translatetocell(const arow: integer; const apos: pointty): pointty; |
|
Properties
property options: coloptionsty read foptions write setoptions; |
|
property options1: coloptions1ty read foptions1 write setoptions1 default []; |
|
property focusrectdist: integer read ffocusrectdist write setfocusrectdist
default 0; |
|
property merged[constrow:integer]: boolean read getmerged write setmerged; |
|
property colindex: integer read getcolindex; |
|
property visible: boolean read getvisible write setvisible; |
|
property enabled: boolean read getenabled write setenabled; |
|
property readonly: boolean read getreadonly write setreadonly; |
|
property width: integer read fwidth write setwidth
default griddefaultcolwidth; |
|
property rowcoloroffset: integer read frowcoloroffset
write setrowcoloroffset default 0; |
|
property rowcoloroffsetselect: integer read frowcoloroffsetselect
write setrowcoloroffsetselect default 0; |
|
property rowfontoffset: integer read frowfontoffset write
setrowfontoffset default 0; |
|
property rowfontoffsetselect: integer read frowfontoffsetselect write
setrowfontoffsetselect default 0; |
|
property fontselect: tcolselectfont read getfontselect write
setfontselect stored isfontselectstored; |
|
property fontactivenum: integer read ffontactivenum
write setfontactivenum default -1; |
|
property fontfocusednum: integer read ffontfocusednum
write setfontfocusednum default -1; |
|
property onbeforedrawcell: beforedrawcelleventty read fonbeforedrawcell
write fonbeforedrawcell; |
|
property onafterdrawcell: drawcelleventty read fonafterdrawcell
write fonafterdrawcell; |
|
Generated by PasDoc 0.16.0.