📄 oilrep2.cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "oilrep2.h"
#include "dm.h"
#include "oilctrl.h";
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm30 *Form30;
//---------------------------------------------------------------------------
__fastcall TForm30::TForm30(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm30::QuickRep1BeforePrint(TCustomQuickRep *Sender,
bool &PrintReport)
{
QuickRep1->PrinterSettings->FirstPage=1;
QuickRep1->PrinterSettings->LastPage=1;
QuickRep1->PrinterSettings->ApplySettings(QuickRep1->Printer);
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -