Class TTbReport (unit TbPrint)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);

Public declarations

REPORTE



Functions

procedure Clear;


function ColumnAdd(Columna : TTbReportColumn) : integer;


procedure ColumnChangeIndex(Ind1,Ind2 : integer);


procedure ColumnDel(Columna : TTbReportColumn);


destructor Destroy;

FILTRO DE LA TABLA PARA EL LISTADO

procedure Execute;

FIN DEL REPORTE

procedure ExportToExcel;


procedure Generate;

USO INTERNO

function GroupAdd(Grupo : TTbReportGroup) : integer;


procedure GroupChangeIndex(Ind1,Ind2 : integer);

CAMBIA EL INDICE POR OTRO VALIDO

procedure GroupDel(Grupo : TTbReportGroup);


function GetEndQueryEvent : TTbEndQueryEvent;

ESTABA CERRADA

procedure SetEndQueryEvent(AEndQueryEvent: TTbEndQueryEvent);


Properties

property ColumnaDePieDePagina : byte


property ColumnaDeSubTitulo : byte


property ColumnaDeTitulo : byte


property EscribirFechaHora : boolean


property Fuente : TFuente


property LineaDePieDePagina : byte


property LineaDeSubTitulo : byte


property LineaDeTitulo : byte


property Lineas : byte


property MargenDerecho : byte


property MargenIzquierdo : byte


property ModoImpresion : TPrinterMode


property NumerarPaginas : boolean


property PieDePagina : string


property Preview : boolean


property Printer : TTbPrinter

Published declarations

property SeparacionDeColumnas : byte


property SubTitulo : string


property Tabla : ReportTableType


property TablaAutoFirst : boolean


property TablaFiltro : string


property TablaIndice : string


property Titulo : string


Events

event OnEndQuery : TTbEndQueryEvent


Variables

ColumnaPiePagina : byte;


Columnas : TList;


ColumnaSubTitulo : byte;


ColumnaTitulo : byte;


DMargen : byte;


FAutoFirst : boolean;


FechaYHora : boolean;


FFiltro : string;


FFuente : TFuente;


FIndice : string;

FILTRO DE LA TABLA PARA EL LISTADO

FLineas : byte;


FModo : TPrinterMode;


FOnEndQuery : TTbEndQueryEvent;


FPreview : boolean;


FPrinter : TTbPrinter;

Private declarations

FSubTitulo : string;


FTabla : ReportTableType;


FTitulo : string;


Grupos : TList;


IMargen : byte;


LineaPiePagina : byte;


LineaSubTitulo : byte;


LineaTitulo : byte;


NumeraPaginas : Boolean;


PiePagina : string;


SeparacionColumnas : byte;



Constructors


constructor Create(AOwner: TComponent);

Public declarations

REPORTE


Functions


procedure Clear;


function ColumnAdd(Columna : TTbReportColumn) : integer;


procedure ColumnChangeIndex(Ind1,Ind2 : integer);


procedure ColumnDel(Columna : TTbReportColumn);


destructor Destroy;

FILTRO DE LA TABLA PARA EL LISTADO


procedure Execute;

FIN DEL REPORTE


procedure ExportToExcel;


procedure Generate;

USO INTERNO


function GroupAdd(Grupo : TTbReportGroup) : integer;


procedure GroupChangeIndex(Ind1,Ind2 : integer);

CAMBIA EL INDICE POR OTRO VALIDO


procedure GroupDel(Grupo : TTbReportGroup);


function GetEndQueryEvent : TTbEndQueryEvent;

ESTABA CERRADA


procedure SetEndQueryEvent(AEndQueryEvent: TTbEndQueryEvent);


Properties


property ColumnaDePieDePagina : byte


property ColumnaDeSubTitulo : byte


property ColumnaDeTitulo : byte


property EscribirFechaHora : boolean


property Fuente : TFuente


property LineaDePieDePagina : byte


property LineaDeSubTitulo : byte


property LineaDeTitulo : byte


property Lineas : byte


property MargenDerecho : byte


property MargenIzquierdo : byte


property ModoImpresion : TPrinterMode


property NumerarPaginas : boolean


property PieDePagina : string


property Preview : boolean


property Printer : TTbPrinter

Published declarations


property SeparacionDeColumnas : byte


property SubTitulo : string


property Tabla : ReportTableType


property TablaAutoFirst : boolean


property TablaFiltro : string


property TablaIndice : string


property Titulo : string


Events


event OnEndQuery : TTbEndQueryEvent


Variables


ColumnaPiePagina : byte;


Columnas : TList;


ColumnaSubTitulo : byte;


ColumnaTitulo : byte;


DMargen : byte;


FAutoFirst : boolean;


FechaYHora : boolean;


FFiltro : string;


FFuente : TFuente;


FIndice : string;

FILTRO DE LA TABLA PARA EL LISTADO


FLineas : byte;


FModo : TPrinterMode;


FOnEndQuery : TTbEndQueryEvent;


FPreview : boolean;


FPrinter : TTbPrinter;

Private declarations


FSubTitulo : string;


FTabla : ReportTableType;


FTitulo : string;


Grupos : TList;


IMargen : byte;


LineaPiePagina : byte;


LineaSubTitulo : byte;


LineaTitulo : byte;


NumeraPaginas : Boolean;


PiePagina : string;


SeparacionColumnas : byte;