menu.h

来自「《C Builder 5程序设计——数据库应用实务篇》程序源代码」· C头文件 代码 · 共 57 行

H
57
字号
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef menuH
#define menuH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Quickrpt.hpp>
#include <quickrpt.hpp>
#include <Graphics.hpp>
#include <QuickRpt.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:	// IDE-managed Components
	TLabel *Label1;
	TGroupBox *GroupBox1;
	TRadioButton *SimpleList;
	TRadioButton *GroupedList;
	TRadioButton *MasterDetail;
	TRadioButton *SQLMasterDetail;
	TMemo *Description;
   TRadioButton *Composite;
	TButton *Preview;
	TButton *Print;
	TButton *Exit;
	TQuickRep *CompositeReport;
	TQRCompositeReport *QRCompositeReport1;
	void __fastcall FormActivate(TObject *Sender);
	void __fastcall SimpleListClick(TObject *Sender);
	void __fastcall GroupedListClick(TObject *Sender);
	void __fastcall MasterDetailClick(TObject *Sender);
	void __fastcall SQLMasterDetailClick(TObject *Sender);
	void __fastcall CompositeClick(TObject *Sender);
	void __fastcall QRCompositeReport1AddReports(TObject *Sender);
	void __fastcall ExitClick(TObject *Sender);
	void __fastcall PrintClick(TObject *Sender);
	void __fastcall PreviewClick(TObject *Sender);
   
private:	// User declarations
   TQuickRep * FReport;
	void SetReport(TQuickRep *);
public:		// User declarations
	__fastcall TMainForm(TComponent* Owner);
   __property TQuickRep * Report = {read = FReport, write = SetReport};
};
//---------------------------------------------------------------------------
extern TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?