Componentes.Terceros.DevExp.../internal/x.36/1/ExpressDBTree Suite/Demos/CBuilder/DBTrPrn/dbtreeqr.h
2008-09-04 11:31:51 +00:00

53 lines
1.7 KiB
C++

//----------------------------------------------------------------------------
#ifndef dbtreeqrH
#define dbtreeqrH
//----------------------------------------------------------------------------
#include <vcl\ExtCtrls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Dialogs.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\Classes.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Messages.hpp>
#include <vcl\Windows.hpp>
#include <vcl\System.hpp>
#include <vcl\DB.hpp>
#include <Qrctrls.hpp>
#include <quickrpt.hpp>
//----------------------------------------------------------------------------
class TQRListForm : public TForm
{
__published:
TQuickRep *QuickReport;
TQRBand *PageHeader;
TQRSysData *PageNumber;
TQRBand *Title;
TImage *Image2;
TQRLabel *QRLabel1;
TQRBand *Detail;
TQRDBText *QText;
TQRImage *Image;
TQRImage *ImageRect;
void __fastcall DataSource1DataChange(TObject *Sender, TField *Field);
void __fastcall QuickReportBeforePrint(TCustomQuickRep *Sender,
bool &PrintReport);
void __fastcall QuickReportAfterPrint(TObject *Sender);
void __fastcall DetailAfterPrint(TQRCustomBand *Sender,
bool BandPrinted);
void __fastcall DetailBeforePrint(TQRCustomBand *Sender,
bool &PrintBand);
private:
int ShapeCount;
TList* ShapeList;
int ImageLeft, QTextLeft, ImageRectLeft;
Graphics::TBitmap* bmp;
public:
virtual __fastcall TQRListForm(TComponent* AOwner);
};
//----------------------------------------------------------------------------
extern TQRListForm *QRListForm;
//----------------------------------------------------------------------------
#endif