Class TFooterRow
Unit
rDBGrid
Declaration
type TFooterRow = class(TPersistent)
Description
define object for setting of text in fixed column
Hierarchy
Overview
Methods
Properties
 |
property FooterVisible: boolean read FFooterVisible write SetFooterVisible default false; |
 |
property FooterHeight: integer read FFooterHeight write SetFooterHeight default 0; |
 |
property ParentFont: boolean read FParentFont write SetParentFont default true; |
 |
property Font: TFont read FFont write SetFont stored IsFontStored; |
 |
property BoldText: boolean read FBoldText write SetBoldText default false; |
 |
property Color: TColor read FColor write SetColor default clNone; |
 |
property ShowCellLines: boolean read FShowCellLines write SetShowCellLines default true; |
 |
property CellLinesColor: TColor read FCellLinesColor write SetCellLinesColor default clNone; |
 |
property FixedColText: string read FFixedColText write SetFixedColText; |
 |
property SimpleText: string read FSimpleText write SetSimpleText; |
 |
property SimpleTextAlign: TAlignment read FSimpleTextAlign write SetSimpleTextAlign default taLeftJustify; |
 |
property FieldFooterDefs: TStrings read FFieldFooterDefs write SetFieldFooterDefs; |
Description
Methods
 |
function FooterRect: TRect; |
return rectangle of all footer row
|
 |
function FooterCellRect(ACol: integer): TRect; |
return rectangle of one cell of footer row
|
 |
function IsFooterDefined(Field: TField): boolean; |
indicate if footer text is defined for the field
|
 |
function GetFooterText(Field: TField): string; |
return footer text for the field
|
 |
function GetFooterParams(Field: TField): string; |
return footer parameters for the field
|
 |
procedure UseFooterParams(Params: string; var Align: TAlignment; AFont: TFont); |
set alignment and font style according params string
|
Properties
 |
property FooterVisible: boolean read FFooterVisible write SetFooterVisible default false; |
switch on/off showing of footer inside grid
|
 |
property FooterHeight: integer read FFooterHeight write SetFooterHeight default 0; |
define specific height of footer row, 0 means current data row height
|
 |
property ParentFont: boolean read FParentFont write SetParentFont default true; |
define using of parent font instead of defined font
|
 |
property Font: TFont read FFont write SetFont stored IsFontStored; |
define font for text in footer
|
 |
property BoldText: boolean read FBoldText write SetBoldText default false; |
define that footer use bold text although parent font is used
|
 |
property Color: TColor read FColor write SetColor default clNone; |
define background color of footer
|
 |
property ShowCellLines: boolean read FShowCellLines write SetShowCellLines default true; |
define showing of cells frame
|
 |
property CellLinesColor: TColor read FCellLinesColor write SetCellLinesColor default clNone; |
define color of cell lines
|
 |
property FixedColText: string read FFixedColText write SetFixedColText; |
define footer text in fixed col
|
 |
property SimpleText: string read FSimpleText write SetSimpleText; |
define footer simple text
|
 |
property SimpleTextAlign: TAlignment read FSimpleTextAlign write SetSimpleTextAlign default taLeftJustify; |
define alignment of footer text
|
 |
property FieldFooterDefs: TStrings read FFieldFooterDefs write SetFieldFooterDefs; |
define content of footer for each field in following format: FieldName1=footertext;param FieldName2=footertext;param where footertext can contain tags for calculated values %SUM, %MIN, %MAX, %AVG, %COUNTVAL (see cSummaryTag_xxx for tag list)
|
Generated by PasDoc 0.13.0 on 2016-10-19 12:19:00
|