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
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- townedeventpersistent
- tindexpersistent
- tgridprop
Overview
Fields
fstate: gridpropstatesty; |
|
fstart: integer; |
|
fend: integer; |
|
flinepos: integer; |
|
flinewidth: integer; |
|
flinecolor: colorty; |
|
flinecolorfix: colorty; |
|
fcolor: colorty; |
|
fcursor: cursorshapety; |
|
ffont: tgridpropfont; |
|
fframe: tcellframe; |
|
fface: tcellface; |
|
fcellinfo: cellinfoty; |
|
foptions: coloptionsty; |
|
fcolorselect: colorty; |
|
fcoloractive: colorty; |
|
fcolorfocused: colorty; |
Methods
procedure updatelayout; virtual; |
|
procedure changed; virtual; |
|
procedure updatecellrect(const aframe: tcustomframe); |
|
function getinnerframe: framety; virtual; |
|
function step(getscrollable: boolean = true): integer; virtual; abstract; |
|
function scrollable: boolean; virtual; abstract; |
|
function framedim: sizety; |
|
function getwidget: twidget; |
|
procedure setframeinstance(instance: tcustomframe); |
|
function getwidgetrect: rectty; |
|
procedure setstaticframe(value: boolean); |
|
function getstaticframe: boolean; |
|
function widgetstate: widgetstatesty; |
|
procedure scrollwidgets(const dist: pointty); |
|
procedure clientrectchanged; |
|
function getcomponentstate: tcomponentstate; |
|
function getmsecomponentstate: msecomponentstatesty; |
|
procedure invalidate; |
|
procedure invalidatewidget; |
|
procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false); |
|
function getframestateflags: framestateflagsty; |
|
procedure updatecellheight(const canvas: tcanvas; var aheight: integer); virtual; |
|
function getclientrect: rectty; |
|
procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); |
|
procedure widgetregioninvalid; |
|
function translatecolor(const acolor: colorty): colorty; |
|
procedure fontchanged(const sender: tobject); virtual; |
|
constructor create(const agrid: tcustomgrid; const aprop: tgridarrayprop); reintroduce; virtual; |
|
destructor destroy; override; |
|
procedure createfont; |
|
procedure createframe(); |
|
procedure createface(); |
|
procedure drawcellbackground(const acanvas: tcanvas; const aframe: tcustomframe; const aface: tcustomface); |
|
procedure drawcelloverlay(const acanvas: tcanvas; const aframe: tcustomframe); |
Properties
property font: tgridpropfont read getfont write setfont stored isfontstored; |
|
property grid: tcustomgrid read fcellinfo.grid; |
|
property innerframe: framety read getinnerframe; |
|
property color: colorty read fcolor write setcolor default cl_default; |
|
property cursor: cursorshapety read fcursor write fcursor default cr_default; |
|
property frame: tcellframe read getframe write setframe; |
|
property face: tcellface read getface write setface; |
|
property linewidth: integer read flinewidth write setlinewidth
default defaultgridlinewidth; |
|
property linecolor: colorty read flinecolor write setlinecolor; |
|
property linecolorfix: colorty read flinecolorfix write setlinecolorfix
default defaultfixlinecolor; |
|
property colorselect: colorty read fcolorselect write setcolorselect
default cl_default; |
|
property coloractive: colorty read fcoloractive write setcoloractive
default cl_none; |
|
property colorfocused: colorty read fcolorfocused write setcolorfocused
default cl_none; |
|
property tag: integer read ftag write ftag default 0; |
Description
Fields
fstate: gridpropstatesty; |
|
fstart: integer; |
|
fend: integer; |
|
flinepos: integer; |
|
flinewidth: integer; |
|
flinecolor: colorty; |
|
flinecolorfix: colorty; |
|
fcolor: colorty; |
|
fcursor: cursorshapety; |
|
ffont: tgridpropfont; |
|
fframe: tcellframe; |
|
fface: tcellface; |
|
fcellinfo: cellinfoty; |
|
foptions: coloptionsty; |
|
fcolorselect: colorty; |
|
fcoloractive: colorty; |
|
fcolorfocused: colorty; |
|
Methods
procedure updatelayout; virtual; |
|
procedure changed; virtual; |
|
procedure updatecellrect(const aframe: tcustomframe); |
|
function getinnerframe: framety; virtual; |
|
function step(getscrollable: boolean = true): integer; virtual; abstract; |
|
function scrollable: boolean; virtual; abstract; |
|
function framedim: sizety; |
|
function getwidget: twidget; |
|
procedure setframeinstance(instance: tcustomframe); |
|
function getwidgetrect: rectty; |
|
procedure setstaticframe(value: boolean); |
|
function getstaticframe: boolean; |
|
function widgetstate: widgetstatesty; |
|
procedure scrollwidgets(const dist: pointty); |
|
procedure clientrectchanged; |
|
function getcomponentstate: tcomponentstate; |
|
function getmsecomponentstate: msecomponentstatesty; |
|
procedure invalidate; |
|
procedure invalidatewidget; |
|
procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false); |
|
function getframestateflags: framestateflagsty; |
|
procedure updatecellheight(const canvas: tcanvas; var aheight: integer); virtual; |
|
function getclientrect: rectty; |
|
procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); |
|
procedure widgetregioninvalid; |
|
function translatecolor(const acolor: colorty): colorty; |
|
procedure fontchanged(const sender: tobject); virtual; |
|
constructor create(const agrid: tcustomgrid; const aprop: tgridarrayprop); reintroduce; virtual; |
|
destructor destroy; override; |
|
procedure createfont; |
|
procedure createframe(); |
|
procedure createface(); |
|
procedure drawcellbackground(const acanvas: tcanvas; const aframe: tcustomframe; const aface: tcustomface); |
|
procedure drawcelloverlay(const acanvas: tcanvas; const aframe: tcustomframe); |
|
Properties
property font: tgridpropfont read getfont write setfont stored isfontstored; |
|
property grid: tcustomgrid read fcellinfo.grid; |
|
property innerframe: framety read getinnerframe; |
|
property color: colorty read fcolor write setcolor default cl_default; |
|
property cursor: cursorshapety read fcursor write fcursor default cr_default; |
|
property frame: tcellframe read getframe write setframe; |
|
property face: tcellface read getface write setface; |
|
property linewidth: integer read flinewidth write setlinewidth
default defaultgridlinewidth; |
|
property linecolor: colorty read flinecolor write setlinecolor; |
|
property linecolorfix: colorty read flinecolorfix write setlinecolorfix
default defaultfixlinecolor; |
|
property colorselect: colorty read fcolorselect write setcolorselect
default cl_default; |
|
property coloractive: colorty read fcoloractive write setcoloractive
default cl_none; |
|
property colorfocused: colorty read fcolorfocused write setcolorfocused
default cl_none; |
|
property tag: integer read ftag write ftag default 0; |
|
Generated by PasDoc 0.16.0.