Class tbasebandarea

Unit

Declaration

type tbasebandarea = class(tpublishedwidget, ibandparent)

Description

This item has no description. Showing description inherited from tmsecomponent.

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component. This unit, mseclasses, must be added to uses after classes in code that also uses a third-party unit expecting the plain FPC tcomponent (e.g. TPSScript.Create(TComponent)), since MSEgui forks the FPC classes unit.

Hierarchy

Overview

Methods

Protected procedure registerchildwidget(const child: twidget); override;
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure setparentwidget(const avalue: twidget); override;
Protected procedure renderbackground(const acanvas: tcanvas);
Protected function render(const acanvas: tcanvas): boolean; virtual;
Protected function rendering: boolean;
Protected procedure beginrender(const arestart: boolean);
Protected procedure endrender;
Protected procedure adddatasets(var adatasets: datasetarty);
Protected procedure dofirstarea; virtual;
Protected procedure dobeforerender; virtual;
Protected procedure doonpaint(const acanvas: tcanvas); override;
Protected procedure doafterpaint1(const acanvas: tcanvas); virtual;
Protected procedure init; virtual;
Protected procedure initareapage; virtual;
Protected procedure initband; virtual;
Protected procedure initpage;
Protected procedure dobeforenextrecord(const adatasource: tdatasource);
Protected procedure dosyncnextrecord;
Protected function checkareafull(ay: integer): boolean;
Protected procedure setppmm(const avalue: real);
Protected function getppmm: real;
Protected procedure registerclient(const aclient: ireportclient);
Protected procedure unregisterclient(const aclient: ireportclient);
Protected function beginband(const acanvas: tcanvas; const sender: tcustomrecordband): boolean; virtual;
Protected procedure endband(const acanvas: tcanvas; const sender: tcustomrecordband); virtual;
Protected procedure updatevisible;
Protected function getlastpagepagecount: integer;
Protected function getlastreppagecount: integer;
Protected procedure setfont(const avalue: trepwidgetfont);
Protected function getfont: trepwidgetfont;
Protected function getfontclass: widgetfontclassty; override;
Public procedure paint(const canvas: tcanvas); override;
Public function isfirstrecord: boolean;
Public function islastrecord: boolean;
Public function istopband: boolean; virtual;
Public function isfirstband: boolean; virtual;
Public function islastband(const addheight: integer = 0): boolean; virtual;
Public function remainingheight: integer; virtual;
Public function pagepagenum: integer;
Public function reppagenum: integer;
Public function pageprintstarttime: tdatetime;
Public function repprintstarttime: tdatetime;
Public function getreppage: tcustomreportpage;
Public procedure restart; virtual;
Public procedure resetzebra;

Properties

Public property font: trepwidgetfont read getfont write setfont stored isfontstored;
Public property onfirstarea: bandareaeventty read fonfirstarea write fonfirstarea;
Public property onlastarea: bandareaeventty read fonlastarea write fonlastarea;
Public property onbeforerender: bandareaeventty read fonbeforerender write fonbeforerender;
Public property onafterrender: bandareaeventty read fonafterrender write fonafterrender;
Public property onpaint: bandareapainteventty read fonpaint write fonpaint;
Public property onafterpaint: bandareapainteventty read fonafterpaint write fonafterpaint;

Description

Methods

Protected procedure registerchildwidget(const child: twidget); override;

This item has no description.

Protected procedure unregisterchildwidget(const child: twidget); override;

This item has no description.

Protected procedure setparentwidget(const avalue: twidget); override;

This item has no description.

Protected procedure renderbackground(const acanvas: tcanvas);

This item has no description.

Protected function render(const acanvas: tcanvas): boolean; virtual;

This item has no description.

Protected function rendering: boolean;

This item has no description.

Protected procedure beginrender(const arestart: boolean);

This item has no description.

Protected procedure endrender;

This item has no description.

Protected procedure adddatasets(var adatasets: datasetarty);

This item has no description.

Protected procedure dofirstarea; virtual;

This item has no description.

Protected procedure dobeforerender; virtual;

This item has no description.

Protected procedure doonpaint(const acanvas: tcanvas); override;

This item has no description.

Protected procedure doafterpaint1(const acanvas: tcanvas); virtual;

This item has no description.

Protected procedure init; virtual;

This item has no description.

Protected procedure initareapage; virtual;

This item has no description.

Protected procedure initband; virtual;

This item has no description.

Protected procedure initpage;

This item has no description.

Protected procedure dobeforenextrecord(const adatasource: tdatasource);

This item has no description.

Protected procedure dosyncnextrecord;

This item has no description.

Protected function checkareafull(ay: integer): boolean;

This item has no description.

Protected procedure setppmm(const avalue: real);

This item has no description.

Protected function getppmm: real;

This item has no description.

Protected procedure registerclient(const aclient: ireportclient);

This item has no description.

Protected procedure unregisterclient(const aclient: ireportclient);

This item has no description.

Protected function beginband(const acanvas: tcanvas; const sender: tcustomrecordband): boolean; virtual;

This item has no description.

Protected procedure endband(const acanvas: tcanvas; const sender: tcustomrecordband); virtual;

This item has no description.

Protected procedure updatevisible;

This item has no description.

Protected function getlastpagepagecount: integer;

This item has no description.

Protected function getlastreppagecount: integer;

This item has no description.

Protected procedure setfont(const avalue: trepwidgetfont);

This item has no description.

Protected function getfont: trepwidgetfont;

This item has no description.

Protected function getfontclass: widgetfontclassty; override;

This item has no description.

Public procedure paint(const canvas: tcanvas); override;

This item has no description. Showing description inherited from twidget.paint.

invalidate (called automatically, e.g. by setcaption) adds the widget's client area to its window's update region; once the main event queue is empty, the update regions of all windows are painted, widget by widget, bottom-up in z-order, by paint. If the widget's color is not cl_transparent, the area is first filled with that color; then, if active, frame is painted (filling its own client area with colorclient if that is not cl_transparent), then, if active, face; the widget's own content (e.g. a caption) is painted last, on top of that background. When code changes a widget's widgetrect directly rather than through a property that does it automatically, it must invalidate the old widgetrect before the change and the new one after, so both the vacated and the newly covered area get repainted.

Public function isfirstrecord: boolean;

This item has no description.

Public function islastrecord: boolean;

This item has no description.

Public function istopband: boolean; virtual;

This item has no description.

Public function isfirstband: boolean; virtual;

This item has no description.

Public function islastband(const addheight: integer = 0): boolean; virtual;

This item has no description.

Public function remainingheight: integer; virtual;

This item has no description.

Public function pagepagenum: integer;

This item has no description.

Public function reppagenum: integer;

This item has no description.

Public function pageprintstarttime: tdatetime;

This item has no description.

Public function repprintstarttime: tdatetime;

This item has no description.

Public function getreppage: tcustomreportpage;

This item has no description.

Public procedure restart; virtual;

This item has no description.

Public procedure resetzebra;

This item has no description.

Properties

Public property font: trepwidgetfont read getfont write setfont stored isfontstored;

This item has no description.

Public property onfirstarea: bandareaeventty read fonfirstarea write fonfirstarea;

This item has no description.

Public property onlastarea: bandareaeventty read fonlastarea write fonlastarea;

This item has no description.

Public property onbeforerender: bandareaeventty read fonbeforerender write fonbeforerender;

This item has no description.

Public property onafterrender: bandareaeventty read fonafterrender write fonafterrender;

This item has no description.

Public property onpaint: bandareapainteventty read fonpaint write fonpaint;

This item has no description.

Public property onafterpaint: bandareapainteventty read fonafterpaint write fonafterpaint;

This item has no description.


Generated by PasDoc 1.0.4.