Class tcustomrecordband

Unit

Declaration

type tcustomrecordband = class(tcustomscalingwidget, idbeditinfo, ireccontrol, iobjectpicker, ireportclient, icaptionframe)

Description

No description available, ancestor tcustomscalingwidget description follows
No description available, ancestor tpublishedwidget description follows
No description available, ancestor tpublishedwidgetnwr description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fstate: recordbandstatesty;

Methods

Protected procedure setfont(const avalue: trepwidgetfont);
Protected function getfont: trepwidgetfont;
Protected function getfontclass: widgetfontclassty; override;
Protected procedure internalcreateframe() override;
Protected procedure registerchildwidget(const child: twidget); override;
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure minclientsizechanged;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure fontchanged; override;
Protected procedure clientrectchanged() override;
Protected procedure inheritedpaint(const acanvas: tcanvas);
Protected procedure parentchanged; override;
Protected function getminbandsize: sizety; virtual;
Protected function calcminscrollsize: sizety; override;
Protected function textarea(): rectty;
Protected procedure render(const acanvas: tcanvas; var empty: boolean); virtual;
Protected procedure init; virtual;
Protected procedure initpage; virtual;
Protected procedure beginrender(const arestart: boolean); virtual;
Protected procedure endrender; virtual;
Protected procedure adddatasets(var adatasets: datasetarty); virtual;
Protected procedure dopaintforeground(const acanvas: tcanvas); override;
Protected procedure doonpaint(const acanvas: tcanvas); override;
Protected procedure doafterpaint(const acanvas: tcanvas); override;
Protected procedure dobeforenextrecord(const adatasource: tdatasource); virtual;
Protected procedure dosyncnextrecord; virtual;
Protected procedure nextrecord(const setflag: boolean = true);
Protected function rendering: boolean;
Protected function bandheight: integer;
Protected procedure dobeforerender(var empty: boolean); virtual;
Protected function bandisvisible(const checklast: boolean): boolean;
Protected function getvisibility: boolean;
Protected procedure updatevisibility; virtual;
Protected function lastbandheight: integer; virtual;
Protected procedure loaded; override;
Protected procedure setppmm(const avalue: real);
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected function getcursorshape(const sender: tobjectpicker; var ashape: cursorshapety): boolean;
Protected procedure getpickobjects(const sender: tobjectpicker; var aobjects: integerarty);
Protected procedure beginpickmove(const sender: tobjectpicker);
Protected procedure pickthumbtrack(const sender: tobjectpicker);
Protected procedure endpickmove(const sender: tobjectpicker);
Protected procedure cancelpickmove(const sender: tobjectpicker);
Protected procedure paintxorpic(const sender: tobjectpicker; const acanvas: tcanvas);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure paint(const canvas: tcanvas); override;
Public function actualcolor: colorty; override;
Public procedure scale(const ascale: real); override;
Public procedure synctofontheight; override;
Public procedure beginupdate;
Public procedure endupdate;
Public function remainingbands: integer;
Public function reppage: tcustomreportpage;
Public procedure finish;
Public function isfirstrecord: boolean;
Public function islastrecord: boolean;
Public function isfirstofgroup: boolean;
Public function islastofgroup: boolean;
Public procedure restart;
Public procedure resetzebra; virtual;

Properties

Public property textframe: int32 read ftextframe write settextframe default 1;
Public property tabs: treptabulators read ftabs write settabs;
Public property font: trepwidgetfont read getfont write setfont stored isfontstored;
Public property datasource: tdatasource read getdatasource write setdatasource;
Public property visidatasource: tdatasource read getvisidatasource write setvisidatasource;
Public property visidatafield: string read getvisidatafield write setvisidatafield;
Public property visigroupfield: string read getvisigroupfield write setvisigroupfield;
Public property options: bandoptionsty read foptions write foptions default [];
Public property optionsshow: bandoptionshowsty read foptionsshow write setoptionsshow default [];
Public property nextband: tcustomrecordband read fnextband write setnextband;
Public property nextbandiflastofarea: tcustomrecordband read fnextbandiflastofarea write setnextbandiflastofarea;
Public property nextbandifempty: tcustomrecordband read fnextbandifempty write setnextbandifempty;
Public property nextbandiflast: tcustomrecordband read fnextbandiflast write setnextbandiflast;
Public property zebra_counter: integer read fzebra_counter write fzebra_counter;
Public property zebra_color: colorty read fzebra_color write fzebra_color default cl_infobackground;
Public property zebra_start: integer read fzebra_start write fzebra_start default 0;
Public property zebra_height: integer read fzebra_height write fzebra_height default 0;
Public property zebra_step: integer read fzebra_step write fzebra_step default 2;
Public property zebra_options: zebraoptionsty read fzebra_options write fzebra_options default [];
Public property onbeforerender: beforerenderrecordeventty read fonbeforerender write fonbeforerender;
Public property onpaint: painteventty read fonpaint write fonpaint;
Public property onafterpaint: painteventty read fonafterpaint write fonafterpaint;
Public property onafterrender: recordbandeventty read fonafterrender write fonafterrender;
Public property onbeforenextrecord: notifyeventty read fonbeforenextrecord write fonbeforenextrecord;
Public property onafternextrecord: notifyeventty read fonafternextrecord write fonafternextrecord;
Published property anchors default defaultbandanchors;
Published property optionswidget default defaultbandoptionswidget;

Description

Fields

Protected fstate: recordbandstatesty;
 

Methods

Protected procedure setfont(const avalue: trepwidgetfont);
 
Protected function getfont: trepwidgetfont;
 
Protected function getfontclass: widgetfontclassty; override;
 
Protected procedure internalcreateframe() override;
 
Protected procedure registerchildwidget(const child: twidget); override;
 
Protected procedure unregisterchildwidget(const child: twidget); override;
 
Protected procedure minclientsizechanged;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected procedure fontchanged; override;
 
Protected procedure clientrectchanged() override;
 
Protected procedure inheritedpaint(const acanvas: tcanvas);
 
Protected procedure parentchanged; override;
 
Protected function getminbandsize: sizety; virtual;
 
Protected function calcminscrollsize: sizety; override;
 
Protected function textarea(): rectty;
 
Protected procedure render(const acanvas: tcanvas; var empty: boolean); virtual;
 
Protected procedure init; virtual;
 
Protected procedure initpage; virtual;
 
Protected procedure beginrender(const arestart: boolean); virtual;
 
Protected procedure endrender; virtual;
 
Protected procedure adddatasets(var adatasets: datasetarty); virtual;
 
Protected procedure dopaintforeground(const acanvas: tcanvas); override;
 
Protected procedure doonpaint(const acanvas: tcanvas); override;
 
Protected procedure doafterpaint(const acanvas: tcanvas); override;
 
Protected procedure dobeforenextrecord(const adatasource: tdatasource); virtual;
 
Protected procedure dosyncnextrecord; virtual;
 
Protected procedure nextrecord(const setflag: boolean = true);
 
Protected function rendering: boolean;
 
Protected function bandheight: integer;
 
Protected procedure dobeforerender(var empty: boolean); virtual;
 
Protected function bandisvisible(const checklast: boolean): boolean;
 
Protected function getvisibility: boolean;
 
Protected procedure updatevisibility; virtual;
 
Protected function lastbandheight: integer; virtual;
 
Protected procedure loaded; override;
 
Protected procedure setppmm(const avalue: real);
 
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
 
Protected function getcursorshape(const sender: tobjectpicker; var ashape: cursorshapety): boolean;
 
Protected procedure getpickobjects(const sender: tobjectpicker; var aobjects: integerarty);
 
Protected procedure beginpickmove(const sender: tobjectpicker);
 
Protected procedure pickthumbtrack(const sender: tobjectpicker);
 
Protected procedure endpickmove(const sender: tobjectpicker);
 
Protected procedure cancelpickmove(const sender: tobjectpicker);
 
Protected procedure paintxorpic(const sender: tobjectpicker; const acanvas: tcanvas);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure paint(const canvas: tcanvas); override;
 
Public function actualcolor: colorty; override;
 
Public procedure scale(const ascale: real); override;
 
Public procedure synctofontheight; override;
 
Public procedure beginupdate;
 
Public procedure endupdate;
 
Public function remainingbands: integer;
 
Public function reppage: tcustomreportpage;
 
Public procedure finish;
 
Public function isfirstrecord: boolean;
 
Public function islastrecord: boolean;
 
Public function isfirstofgroup: boolean;
 
Public function islastofgroup: boolean;
 
Public procedure restart;
 
Public procedure resetzebra; virtual;
 

Properties

Public property textframe: int32 read ftextframe write settextframe default 1;
 
Public property tabs: treptabulators read ftabs write settabs;
 
Public property font: trepwidgetfont read getfont write setfont stored isfontstored;
 
Public property datasource: tdatasource read getdatasource write setdatasource;
 
Public property visidatasource: tdatasource read getvisidatasource write setvisidatasource;
 
Public property visidatafield: string read getvisidatafield write setvisidatafield;
 
Public property visigroupfield: string read getvisigroupfield write setvisigroupfield;
 
Public property options: bandoptionsty read foptions write foptions default [];
 
Public property optionsshow: bandoptionshowsty read foptionsshow write setoptionsshow default [];
 
Public property nextband: tcustomrecordband read fnextband write setnextband;
 
Public property nextbandiflastofarea: tcustomrecordband read fnextbandiflastofarea write setnextbandiflastofarea;
 
Public property nextbandifempty: tcustomrecordband read fnextbandifempty write setnextbandifempty;
 
Public property nextbandiflast: tcustomrecordband read fnextbandiflast write setnextbandiflast;
 
Public property zebra_counter: integer read fzebra_counter write fzebra_counter;
 
Public property zebra_color: colorty read fzebra_color write fzebra_color default cl_infobackground;
 
Public property zebra_start: integer read fzebra_start write fzebra_start default 0;
 
Public property zebra_height: integer read fzebra_height write fzebra_height default 0;
 
Public property zebra_step: integer read fzebra_step write fzebra_step default 2;
 
Public property zebra_options: zebraoptionsty read fzebra_options write fzebra_options default [];
 
Public property onbeforerender: beforerenderrecordeventty read fonbeforerender write fonbeforerender;
 
Public property onpaint: painteventty read fonpaint write fonpaint;
 
Public property onafterpaint: painteventty read fonafterpaint write fonafterpaint;
 
Public property onafterrender: recordbandeventty read fonafterrender write fonafterrender;
 
Public property onbeforenextrecord: notifyeventty read fonbeforenextrecord write fonbeforenextrecord;
 
Public property onafternextrecord: notifyeventty read fonafternextrecord write fonafternextrecord;
 
Published property anchors default defaultbandanchors;
 
Published property optionswidget default defaultbandoptionswidget;
 

Generated by PasDoc 0.16.0.