Class tgridprop

Unit

Declaration

type tgridprop = class(tindexpersistent, iframe, iface)

Description

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 fstate: gridpropstatesty;
Protected fstart: integer;
Protected fend: integer;
Protected flinepos: integer;
Protected flinewidth: integer;
Protected flinecolor: colorty;
Protected flinecolorfix: colorty;
Protected fcolor: colorty;
Protected fcursor: cursorshapety;
Protected ffont: tgridpropfont;
Protected fframe: tcellframe;
Protected fface: tcellface;
Protected fcellinfo: cellinfoty;
Protected foptions: coloptionsty;
Protected fcolorselect: colorty;
Protected fcoloractive: colorty;
Protected fcolorfocused: colorty;

Methods

Protected procedure updatelayout; virtual;
Protected procedure changed; virtual;
Protected procedure updatecellrect(const aframe: tcustomframe);
Protected function getinnerframe: framety; virtual;
Protected function step(getscrollable: boolean = true): integer; virtual; abstract;
Protected function scrollable: boolean; virtual; abstract;
Protected function framedim: sizety;
Protected function getwidget: twidget;
Protected procedure setframeinstance(instance: tcustomframe);
Protected function getwidgetrect: rectty;
Protected procedure setstaticframe(value: boolean);
Protected function getstaticframe: boolean;
Protected function widgetstate: widgetstatesty;
Protected procedure scrollwidgets(const dist: pointty);
Protected procedure clientrectchanged;
Protected function getcomponentstate: tcomponentstate;
Protected function getmsecomponentstate: msecomponentstatesty;
Protected procedure invalidate;
Protected procedure invalidatewidget;
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
Protected function getframestateflags: framestateflagsty;
Protected procedure updatecellheight(const canvas: tcanvas; var aheight: integer); virtual;
Protected function getclientrect: rectty;
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil);
Protected procedure widgetregioninvalid;
Protected function translatecolor(const acolor: colorty): colorty;
Protected procedure fontchanged(const sender: tobject); virtual;
Public constructor create(const agrid: tcustomgrid; const aprop: tgridarrayprop); reintroduce; virtual;
Public destructor destroy; override;
Public procedure createfont;
Public procedure createframe();
Public procedure createface();
Public procedure drawcellbackground(const acanvas: tcanvas; const aframe: tcustomframe; const aface: tcustomface);
Public procedure drawcelloverlay(const acanvas: tcanvas; const aframe: tcustomframe);

Properties

Protected property font: tgridpropfont read getfont write setfont stored isfontstored;
Public property grid: tcustomgrid read fcellinfo.grid;
Public property innerframe: framety read getinnerframe;
Published property color: colorty read fcolor write setcolor default cl_default;
Published property cursor: cursorshapety read fcursor write fcursor default cr_default;
Published property frame: tcellframe read getframe write setframe;
Published property face: tcellface read getface write setface;
Published property linewidth: integer read flinewidth write setlinewidth default defaultgridlinewidth;
Published property linecolor: colorty read flinecolor write setlinecolor;
Published property linecolorfix: colorty read flinecolorfix write setlinecolorfix default defaultfixlinecolor;
Published property colorselect: colorty read fcolorselect write setcolorselect default cl_default;
Published property coloractive: colorty read fcoloractive write setcoloractive default cl_none;
Published property colorfocused: colorty read fcolorfocused write setcolorfocused default cl_none;
Published property tag: integer read ftag write ftag default 0;

Description

Fields

Protected fstate: gridpropstatesty;
 
Protected fstart: integer;
 
Protected fend: integer;
 
Protected flinepos: integer;
 
Protected flinewidth: integer;
 
Protected flinecolor: colorty;
 
Protected flinecolorfix: colorty;
 
Protected fcolor: colorty;
 
Protected fcursor: cursorshapety;
 
Protected ffont: tgridpropfont;
 
Protected fframe: tcellframe;
 
Protected fface: tcellface;
 
Protected fcellinfo: cellinfoty;
 
Protected foptions: coloptionsty;
 
Protected fcolorselect: colorty;
 
Protected fcoloractive: colorty;
 
Protected fcolorfocused: colorty;
 

Methods

Protected procedure updatelayout; virtual;
 
Protected procedure changed; virtual;
 
Protected procedure updatecellrect(const aframe: tcustomframe);
 
Protected function getinnerframe: framety; virtual;
 
Protected function step(getscrollable: boolean = true): integer; virtual; abstract;
 
Protected function scrollable: boolean; virtual; abstract;
 
Protected function framedim: sizety;
 
Protected function getwidget: twidget;
 
Protected procedure setframeinstance(instance: tcustomframe);
 
Protected function getwidgetrect: rectty;
 
Protected procedure setstaticframe(value: boolean);
 
Protected function getstaticframe: boolean;
 
Protected function widgetstate: widgetstatesty;
 
Protected procedure scrollwidgets(const dist: pointty);
 
Protected procedure clientrectchanged;
 
Protected function getcomponentstate: tcomponentstate;
 
Protected function getmsecomponentstate: msecomponentstatesty;
 
Protected procedure invalidate;
 
Protected procedure invalidatewidget;
 
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
 
Protected function getframestateflags: framestateflagsty;
 
Protected procedure updatecellheight(const canvas: tcanvas; var aheight: integer); virtual;
 
Protected function getclientrect: rectty;
 
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil);
 
Protected procedure widgetregioninvalid;
 
Protected function translatecolor(const acolor: colorty): colorty;
 
Protected procedure fontchanged(const sender: tobject); virtual;
 
Public constructor create(const agrid: tcustomgrid; const aprop: tgridarrayprop); reintroduce; virtual;
 
Public destructor destroy; override;
 
Public procedure createfont;
 
Public procedure createframe();
 
Public procedure createface();
 
Public procedure drawcellbackground(const acanvas: tcanvas; const aframe: tcustomframe; const aface: tcustomface);
 
Public procedure drawcelloverlay(const acanvas: tcanvas; const aframe: tcustomframe);
 

Properties

Protected property font: tgridpropfont read getfont write setfont stored isfontstored;
 
Public property grid: tcustomgrid read fcellinfo.grid;
 
Public property innerframe: framety read getinnerframe;
 
Published property color: colorty read fcolor write setcolor default cl_default;
 
Published property cursor: cursorshapety read fcursor write fcursor default cr_default;
 
Published property frame: tcellframe read getframe write setframe;
 
Published property face: tcellface read getface write setface;
 
Published property linewidth: integer read flinewidth write setlinewidth default defaultgridlinewidth;
 
Published property linecolor: colorty read flinecolor write setlinecolor;
 
Published property linecolorfix: colorty read flinecolorfix write setlinecolorfix default defaultfixlinecolor;
 
Published property colorselect: colorty read fcolorselect write setcolorselect default cl_default;
 
Published property coloractive: colorty read fcoloractive write setcoloractive default cl_none;
 
Published property colorfocused: colorty read fcolorfocused write setcolorfocused default cl_none;
 
Published property tag: integer read ftag write ftag default 0;
 

Generated by PasDoc 0.16.0.