📄 myprint.h
字号:
//---------------------------------------------------------------------------
#ifndef MyPrintH
#define MyPrintH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <QuickRpt.hpp>
#include <Qrctrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TFormMyPrint : public TForm
{
__published: // IDE-managed Components
TQuickRep *QuickRep1;
TQRBand *column;
TQRBand *detail;
TQRBand *PageFooterBand1;
TQRBand *SummaryBand1;
TQRBand *TitleBand1;
TQRLabel *QRLabelTitle1;
TQRShape *QRShapeCTop;
TQRShape *QRShapeCLeft;
TQRShape *QRShapeDBottom;
TQRShape *QRShapeCBottom;
TQRLabel *QRLabel1;
TQRSysData *QRSysData1;
TQRLabel *QRLabel2;
TQRSysData *QRSysData2;
TQRLabel *QRLabel3;
TQRLabel *QRLabel4;
TQRSysData *QRSysData3;
TQRShape *QRShapeDLeft;
private: // User declarations
TQRLabel *Label[50];
TQRDBText *Text[50];
TQRShape *DLine[50];
TQRShape *CLine[50];
public: // User declarations
__fastcall TFormMyPrint(TComponent* Owner);
__fastcall ~TFormMyPrint();
void __fastcall SetLabel(TDBGrid * pGrid,TDataSet * pDataSet);
void __fastcall repPreview();
void __fastcall repPrint();
void __fastcall SetTitle(AnsiString sTitle,TPersistent *pFont);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormMyPrint *FormMyPrint;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -