📄 soghdisp.h
字号:
//---------------------------------------------------------------------------
#ifndef SoghDispH
#define SoghDispH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ListBaseForm.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include <Mask.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSoghDisp;
class TfrmSoghDisp : public TListBaseForm
{
__published: // IDE-managed Components
TToolBar *ToolBar1;
TBitBtn *btnCheck;
TBitBtn *btnQuite;
TSDGrid *SoghGrid;
TSDGrid *SogdGrid;
TPanel *Panel1;
TLabel *Label5;
TPanel *Panel2;
TLabel *Label6;
TLabel *RecodCount;
void __fastcall SoghGridClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall SoghGridMouseMove(TObject *Sender,
TShiftState Shift, int X, int Y);
void __fastcall SogdGridMouseMove(TObject *Sender,
TShiftState Shift, int X, int Y);
void __fastcall SogdGridClick(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:
AnsiString FClientValue; // User declarations
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
public: // User declarations
AnsiString FormIniFile;
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
__fastcall TfrmSoghDisp(TComponent* Owner);
void __fastcall InitEditControl();
void __fastcall ClearControl();
void __fastcall GetDataFromComObject(int Section);
void __fastcall SendDataToComObject(int Section);
void __fastcall WaitUserInput(int Section);
void __fastcall DisplayBill();
void __fastcall GetBill(AnsiString BillID);
void __fastcall FillDetailGridWithData();
void __fastcall FillHeadGridWithData();
AnsiString __fastcall GetWhereSQLString();
void __fastcall ChangeToBrowseState(bool Browse);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSoghDisp *frmSoghDisp;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -