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

Overview

Fields

Protected foptions1: coloptions1ty;
Protected fwidth: integer;
Protected fpropwidth: real;
Protected ffontselect: tcolselectfont;
Protected ffocusrectdist: integer;
Protected fmaxwidth: integer;

Methods

Protected function getenabled: boolean;
Protected procedure setenabled(const avalue: boolean);
Protected function checkautocolwidth: boolean;
Protected procedure updatecolwidth(const arow,acount: integer; var acolwidth: integer);
Protected procedure createfontselect;
Protected function getselected(const row: integer): boolean; virtual;
Protected procedure updatewidth(var avalue: integer); virtual;
Protected procedure setwidth(const Value: integer); virtual;
Protected procedure invalidatelayout;
Protected procedure setoptions(const Value: coloptionsty); virtual;
Protected procedure setoptions1(const avalue: coloptions1ty); virtual;
Protected procedure updatelayout; override;
Protected procedure rearange(const list: integerarty); virtual; abstract;
Protected procedure checkmaxwidth;
Protected function checkactivecolor(const aindex: integer): boolean;
Protected function checkfocusedcolor(const aindex: integer): boolean;
Protected function isopaque: boolean; virtual;
Protected function needsfocusrect: boolean; virtual;
Protected function getdatapo(const arow: integer): pointer; virtual;
Protected procedure clean(const start,stop: integer); virtual;
Protected procedure paint(var info: colpaintinfoty); virtual;
Protected class function defaultstep(width: integer): integer; virtual;
Protected function step(getscrollable: boolean = true): integer; override;
Protected function scrollable: boolean; override;
Protected procedure dobeforedrawcell(const acanvas: tcanvas; var processed: boolean); virtual;
Protected procedure doafterdrawcell(const acanvas: tcanvas); virtual;
Protected procedure drawcell(const acanvas: tcanvas); virtual;
Protected procedure drawfocusedcell(const acanvas: tcanvas); virtual;
Protected procedure rowcountchanged(const newcount: integer); virtual;
Protected procedure drawfocus(const acanvas: tcanvas); virtual;
Protected procedure moverow(const curindex,newindex: integer; const count: integer = 1); virtual; abstract;
Protected procedure insertrow(const aindex: integer; const count: integer = 1); virtual; abstract;
Protected procedure deleterow(const aindex: integer; const count: integer = 1); virtual; abstract;
Protected function getmerged(const row: integer): boolean; virtual;
Protected procedure setmerged(const row: integer; const avalue: boolean); virtual;
Public constructor create(const agrid: tcustomgrid; const aowner: tgridarrayprop); override;
Public destructor destroy; override;
Public procedure invalidate;
Public procedure invalidatecell(const arow: integer);
Public procedure invalidatemaxsize(const arow: integer = -1); virtual;
Public function rowcolor(const aindex: integer): colorty;
Public function rowfont(const aindex: integer): tfont;
Public procedure changed; override;
Public procedure cellchanged(const row: integer); virtual;
Public function actualcolor: colorty;
Public function actualfont: tfont; virtual;
Public function maxwidth: integer;
Public function minmaxwidth(): integer;
Public function translatetocell(const arow: integer; const apos: pointty): pointty;

Properties

Protected property options: coloptionsty read foptions write setoptions;
Protected property options1: coloptions1ty read foptions1 write setoptions1 default [];
Protected property focusrectdist: integer read ffocusrectdist write setfocusrectdist default 0;
Protected property merged[constrow:integer]: boolean read getmerged write setmerged;
Public property colindex: integer read getcolindex;
Public property visible: boolean read getvisible write setvisible;
Public property enabled: boolean read getenabled write setenabled;
Public property readonly: boolean read getreadonly write setreadonly;
Published property width: integer read fwidth write setwidth default griddefaultcolwidth;
Published property rowcoloroffset: integer read frowcoloroffset write setrowcoloroffset default 0;
Published property rowcoloroffsetselect: integer read frowcoloroffsetselect write setrowcoloroffsetselect default 0;
Published property rowfontoffset: integer read frowfontoffset write setrowfontoffset default 0;
Published property rowfontoffsetselect: integer read frowfontoffsetselect write setrowfontoffsetselect default 0;
Published property fontselect: tcolselectfont read getfontselect write setfontselect stored isfontselectstored;
Published property fontactivenum: integer read ffontactivenum write setfontactivenum default -1;
Published property fontfocusednum: integer read ffontfocusednum write setfontfocusednum default -1;
Published property onbeforedrawcell: beforedrawcelleventty read fonbeforedrawcell write fonbeforedrawcell;
Published property onafterdrawcell: drawcelleventty read fonafterdrawcell write fonafterdrawcell;

Description

Fields

Protected foptions1: coloptions1ty;
 
Protected fwidth: integer;
 
Protected fpropwidth: real;
 
Protected ffontselect: tcolselectfont;
 
Protected ffocusrectdist: integer;
 
Protected fmaxwidth: integer;
 

Methods

Protected function getenabled: boolean;
 
Protected procedure setenabled(const avalue: boolean);
 
Protected function checkautocolwidth: boolean;
 
Protected procedure updatecolwidth(const arow,acount: integer; var acolwidth: integer);
 
Protected procedure createfontselect;
 
Protected function getselected(const row: integer): boolean; virtual;
 
Protected procedure updatewidth(var avalue: integer); virtual;
 
Protected procedure setwidth(const Value: integer); virtual;
 
Protected procedure invalidatelayout;
 
Protected procedure setoptions(const Value: coloptionsty); virtual;
 
Protected procedure setoptions1(const avalue: coloptions1ty); virtual;
 
Protected procedure updatelayout; override;
 
Protected procedure rearange(const list: integerarty); virtual; abstract;
 
Protected procedure checkmaxwidth;
 
Protected function checkactivecolor(const aindex: integer): boolean;
 
Protected function checkfocusedcolor(const aindex: integer): boolean;
 
Protected function isopaque: boolean; virtual;
 
Protected function needsfocusrect: boolean; virtual;
 
Protected function getdatapo(const arow: integer): pointer; virtual;
 
Protected procedure clean(const start,stop: integer); virtual;
 
Protected procedure paint(var info: colpaintinfoty); virtual;
 
Protected class function defaultstep(width: integer): integer; virtual;
 
Protected function step(getscrollable: boolean = true): integer; override;
 
Protected function scrollable: boolean; override;
 
Protected procedure dobeforedrawcell(const acanvas: tcanvas; var processed: boolean); virtual;
 
Protected procedure doafterdrawcell(const acanvas: tcanvas); virtual;
 
Protected procedure drawcell(const acanvas: tcanvas); virtual;
 
Protected procedure drawfocusedcell(const acanvas: tcanvas); virtual;
 
Protected procedure rowcountchanged(const newcount: integer); virtual;
 
Protected procedure drawfocus(const acanvas: tcanvas); virtual;
 
Protected procedure moverow(const curindex,newindex: integer; const count: integer = 1); virtual; abstract;
 
Protected procedure insertrow(const aindex: integer; const count: integer = 1); virtual; abstract;
 
Protected procedure deleterow(const aindex: integer; const count: integer = 1); virtual; abstract;
 
Protected function getmerged(const row: integer): boolean; virtual;
 
Protected procedure setmerged(const row: integer; const avalue: boolean); virtual;
 
Public constructor create(const agrid: tcustomgrid; const aowner: tgridarrayprop); override;
 
Public destructor destroy; override;
 
Public procedure invalidate;
 
Public procedure invalidatecell(const arow: integer);
 
Public procedure invalidatemaxsize(const arow: integer = -1); virtual;
 
Public function rowcolor(const aindex: integer): colorty;
 
Public function rowfont(const aindex: integer): tfont;
 
Public procedure changed; override;
 
Public procedure cellchanged(const row: integer); virtual;
 
Public function actualcolor: colorty;
 
Public function actualfont: tfont; virtual;
 
Public function maxwidth: integer;
 
Public function minmaxwidth(): integer;
 
Public function translatetocell(const arow: integer; const apos: pointty): pointty;
 

Properties

Protected property options: coloptionsty read foptions write setoptions;
 
Protected property options1: coloptions1ty read foptions1 write setoptions1 default [];
 
Protected property focusrectdist: integer read ffocusrectdist write setfocusrectdist default 0;
 
Protected property merged[constrow:integer]: boolean read getmerged write setmerged;
 
Public property colindex: integer read getcolindex;
 
Public property visible: boolean read getvisible write setvisible;
 
Public property enabled: boolean read getenabled write setenabled;
 
Public property readonly: boolean read getreadonly write setreadonly;
 
Published property width: integer read fwidth write setwidth default griddefaultcolwidth;
 
Published property rowcoloroffset: integer read frowcoloroffset write setrowcoloroffset default 0;
 
Published property rowcoloroffsetselect: integer read frowcoloroffsetselect write setrowcoloroffsetselect default 0;
 
Published property rowfontoffset: integer read frowfontoffset write setrowfontoffset default 0;
 
Published property rowfontoffsetselect: integer read frowfontoffsetselect write setrowfontoffsetselect default 0;
 
Published property fontselect: tcolselectfont read getfontselect write setfontselect stored isfontselectstored;
 
Published property fontactivenum: integer read ffontactivenum write setfontactivenum default -1;
 
Published property fontfocusednum: integer read ffontfocusednum write setfontfocusednum default -1;
 
Published property onbeforedrawcell: beforedrawcelleventty read fonbeforedrawcell write fonbeforedrawcell;
 
Published property onafterdrawcell: drawcelleventty read fonafterdrawcell write fonafterdrawcell;
 

Generated by PasDoc 0.16.0.