Unit 'msereport' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

treportpage

[Properties (by Name)] [Methods (by Name)]

Page layout of a treport

Declaration

Source position: msereport.pas line 1707

type treportpage = class(tcustomreportpage)

published

  property pagewidth: real;

  property pageheight: real;

  property color: colorty;

  property frame: tcustomframe;

  property face: tcustomface;

  property visible: Boolean;

  property font: trepwidgetfont;

  property nextpage: tcustomreportpage;

  property nextpageifempty: tcustomreportpage;

  property nextpageiflast: tcustomreportpage;

  property visiblepage: Boolean;

  property datasource: tdatasource;

  property options: reportpageoptionsty;

  property printorientation: reppageorientationty;

  property onfirstpage: reportpageeventty;

  property onbeforerender: beforerenderpageeventty;

  property onafterrender: reportpageeventty;

  property onpaint: reportpagepainteventty;

  property onafterpaint: reportpagepainteventty;

  property onbeforenextrecord: notifyeventty;

  property onafternextrecord: notifyeventty;

  property onafterlastpage: reportpageeventty;

end;

Inheritance

treportpage

  

Page layout of a treport

|

tcustomreportpage

|

twidget,ibandparent

|

tactcomponent,iscrollframe,iface,iassistiveclient

|

tmsecomponent,iactivatorclient

  

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject

Description

Page layout of a treport. Widgets placed directly on the page are printed on every page (headers, footers, page numbers); tables are made of tbandareas. If datasource is set, one page is printed per record. nextpage is the page used after this one has been printed once (e.g. a first page with a different layout), nextpageifempty the page used if this one has no data, and nextpageiflast the page used after the last one (e.g. a summary). Pages with visiblepage = False are skipped. See the report guide, Structure of a report.


Documentation generated on: 2026-10-03