Skip to main content
Table of Contents

TTMSFNCDataGridPrintIO.OnRowIsPageBreak Event

Occurs for every row before printing starts, so the application can force a page break before that row.

API unit family: TMSFNCDataGridPrintIO Declaring type: TTMSFNCDataGridPrintIO Inherited from: TTMSFNCCustomDataGridPrintIO

Syntax

FMX.TMSFNCDataGridPrintIO.hppPascalC++
OnRowIsPageBreak: TTMSFNCDataGridPrintIORowIsPageBreakEvent;
__property TTMSFNCDataGridPrintIORowIsPageBreakEvent OnRowIsPageBreak = {read=FOnRowIsPageBreak, write=FOnRowIsPageBreak};

Remarks

Fires in row order in a single pass before any drawing. Enable TTMSFNCDataGridPrintIOOptions.RepeatFixedRows to repeat the header on each new page.

Parameters

Name Description
Sender Print component that raised the event.
AExportObject Renderer being printed.
ARow Zero-based row index being evaluated, including fixed rows.
IsPageBreak False on entry. Set to True to start a new page with this row.