Class tcol

Unit

Declaration

type tcol = class(tgridprop)

Description

This item has no description.

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[const row: 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;

This item has no description.

Protected fwidth: integer;

This item has no description.

Protected fpropwidth: real;

This item has no description.

Protected ffontselect: tcolselectfont;

This item has no description.

Protected ffocusrectdist: integer;

This item has no description.

Protected fmaxwidth: integer;

This item has no description.

Methods

Protected function getenabled: boolean;

This item has no description.

Protected procedure setenabled(const avalue: boolean);

This item has no description.

Protected function checkautocolwidth: boolean;

This item has no description.

Protected procedure updatecolwidth(const arow,acount: integer; var acolwidth: integer);

This item has no description.

Protected procedure createfontselect;

This item has no description.

Protected function getselected(const row: integer): boolean; virtual;

This item has no description.

Protected procedure updatewidth(var avalue: integer); virtual;

This item has no description.

Protected procedure setwidth(const Value: integer); virtual;

This item has no description.

Protected procedure invalidatelayout;

This item has no description.

Protected procedure setoptions(const Value: coloptionsty); virtual;

This item has no description.

Protected procedure setoptions1(const avalue: coloptions1ty); virtual;

This item has no description.

Protected procedure updatelayout; override;

This item has no description.

Protected procedure rearange(const list: integerarty); virtual; abstract;

This item has no description.

Protected procedure checkmaxwidth;

This item has no description.

Protected function checkactivecolor(const aindex: integer): boolean;

This item has no description.

Protected function checkfocusedcolor(const aindex: integer): boolean;

This item has no description.

Protected function isopaque: boolean; virtual;

This item has no description.

Protected function needsfocusrect: boolean; virtual;

This item has no description.

Protected function getdatapo(const arow: integer): pointer; virtual;

This item has no description.

Protected procedure clean(const start,stop: integer); virtual;

This item has no description.

Protected procedure paint(var info: colpaintinfoty); virtual;

This item has no description.

Protected class function defaultstep(width: integer): integer; virtual;

This item has no description.

Protected function step(getscrollable: boolean = true): integer; override;

This item has no description.

Protected function scrollable: boolean; override;

This item has no description.

Protected procedure dobeforedrawcell(const acanvas: tcanvas; var processed: boolean); virtual;

This item has no description.

Protected procedure doafterdrawcell(const acanvas: tcanvas); virtual;

This item has no description.

Protected procedure drawcell(const acanvas: tcanvas); virtual;

This item has no description.

Protected procedure drawfocusedcell(const acanvas: tcanvas); virtual;

This item has no description.

Protected procedure rowcountchanged(const newcount: integer); virtual;

This item has no description.

Protected procedure drawfocus(const acanvas: tcanvas); virtual;

This item has no description.

Protected procedure moverow(const curindex,newindex: integer; const count: integer = 1); virtual; abstract;

This item has no description.

Protected procedure insertrow(const aindex: integer; const count: integer = 1); virtual; abstract;

This item has no description.

Protected procedure deleterow(const aindex: integer; const count: integer = 1); virtual; abstract;

This item has no description.

Protected function getmerged(const row: integer): boolean; virtual;

This item has no description.

Protected procedure setmerged(const row: integer; const avalue: boolean); 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 procedure invalidate;

This item has no description.

Public procedure invalidatecell(const arow: integer);

This item has no description.

Public procedure invalidatemaxsize(const arow: integer = -1); virtual;

This item has no description.

Public function rowcolor(const aindex: integer): colorty;

This item has no description.

Public function rowfont(const aindex: integer): tfont;

This item has no description.

Public procedure changed; override;

This item has no description.

Public procedure cellchanged(const row: integer); virtual;

This item has no description.

Public function actualcolor: colorty;

This item has no description.

Public function actualfont: tfont; virtual;

This item has no description.

Public function maxwidth: integer;

This item has no description.

Public function minmaxwidth(): integer;

This item has no description.

Public function translatetocell(const arow: integer; const apos: pointty): pointty;

This item has no description.

Properties

Protected property options: coloptionsty read foptions write setoptions;

This item has no description.

Protected property options1: coloptions1ty read foptions1 write setoptions1 default [];

This item has no description.

Protected property focusrectdist: integer read ffocusrectdist write setfocusrectdist default 0;

This item has no description.

Protected property merged[const row: integer]: boolean read getmerged write setmerged;

This item has no description.

Public property colindex: integer read getcolindex;

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.

Published property width: integer read fwidth write setwidth default griddefaultcolwidth;

This item has no description.

Published property rowcoloroffset: integer read frowcoloroffset write setrowcoloroffset default 0;

This item has no description.

Published property rowcoloroffsetselect: integer read frowcoloroffsetselect write setrowcoloroffsetselect default 0;

This item has no description.

Published property rowfontoffset: integer read frowfontoffset write setrowfontoffset default 0;

This item has no description.

Published property rowfontoffsetselect: integer read frowfontoffsetselect write setrowfontoffsetselect default 0;

This item has no description.

Published property fontselect: tcolselectfont read getfontselect write setfontselect stored isfontselectstored;

This item has no description.

Published property fontactivenum: integer read ffontactivenum write setfontactivenum default -1;

This item has no description.

Published property fontfocusednum: integer read ffontfocusednum write setfontfocusednum default -1;

This item has no description.

Published property onbeforedrawcell: beforedrawcelleventty read fonbeforedrawcell write fonbeforedrawcell;

This item has no description.

Published property onafterdrawcell: drawcelleventty read fonafterdrawcell write fonafterdrawcell;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.