report.h

来自「速达开源ERP系统」· C头文件 代码 · 共 74 行

H
74
字号
//---------------------------------------------------------------------------

#ifndef ReportH
#define ReportH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include <Mask.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmReport;
class  TfrmReport : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgReport;
    TFloatPanel *FloatPanel1;
    TLabel *Label1;
    TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label5;
        TLabel *Label9;
        TLabel *Label13;
        TLabel *Label14;
        TLabel *Label15;
        TSDEdit *seReportCode;
        TSDComboBox *scReportTemplet;
        TSDComboBox *scReportType;
        TSDComboBox *scReportFile;
        TLabel *Label6;
        TLabel *Label7;
        TLabel *lbReportTimes;
        TLabel *lbReportNearNo;
        TSDEdit *seReportName;
        TLabel *lbReportSysDate;
        TSDEdit *seReportCaption;
        TSDEdit *seReportDesc;
        TSDEdit *seReportUser;
    void __fastcall FormShow(TObject *Sender);
        void __fastcall sgReportClick(TObject *Sender);
        void __fastcall seReportCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations
    AnsiString __fastcall GetFieldValue(int FieldIndex);
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    void  __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall WaitUserInput();
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall InitEditControl();
    AnsiString KeyCode;
public:		// User declarations
    __fastcall TfrmReport(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmReport *frmReport;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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