Class TFooterRow
Unit
rDBGrid
Declaration
type TFooterRow = class(TPersistent)
Description
define object for setting of summary footer row used by TrDBGrid
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; |
|
property RecalculateAfterOpen: boolean read FRecalculateAfterOpen write FRecalculateAfterOpen default false; |
|
property RecalculateAfterFilter: boolean read FRecalculateAfterFilter write FRecalculateAfterFilter default false; |
|
property RefreshAfterScroll: boolean read FRefreshAfterScroll write FRefreshAfterScroll default false; |
Description
Methods
|
function FooterRect: TRect; |
return rectangle of footer row
|
|
function FooterCellRect(ACol: integer): TRect; |
return rectangle of one cell in 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
|
|
procedure Refresh; |
redraw footer content (redraw only - not recalculate)
|
Properties
|
property FooterVisible: boolean read FFooterVisible write SetFooterVisible default false; |
activate footer row
|
|
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 row
|
|
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 column
|
|
property SimpleText: string read FSimpleText write SetSimpleText; |
define footer simple text shown in the footer row (besides to text in the cells)
|
|
property SimpleTextAlign: TAlignment read FSimpleTextAlign write SetSimpleTextAlign default taLeftJustify; |
define alignment of simple text in teh footer row
|
|
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)
|
|
property RecalculateAfterOpen: boolean read FRecalculateAfterOpen write FRecalculateAfterOpen default false; |
activate automatic footer recalculation when dataset get active
|
|
property RecalculateAfterFilter: boolean read FRecalculateAfterFilter write FRecalculateAfterFilter default false; |
activate automatic footer recalculation when grid filter changed
|
|
property RefreshAfterScroll: boolean read FRefreshAfterScroll write FRefreshAfterScroll default false; |
activate automatic footer redraw after scroll (needed only if RecNo is used as summary content)
|
Generated by PasDoc 0.15.0.
|