📄 gpch.h
字号:
//---------------------------------------------------------------------------
#ifndef GpchH
#define GpchH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BillBaseForm.h"
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SDGrid.h"
#include <Buttons.hpp>
#include <Grids.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include "GoodsQuery.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmGpch ;
class TfrmGpch : public TBillBaseForm
{
__published: // IDE-managed Components
TFloatPanel *fpGpchHead;
TLabel *Label1;
TLabel *Label10;
TSDEdit *seGpchCode;
TSDGrid *sgGpch;
TLabel *labSysDate;
TFloatPanel *FloatPanel3;
TLabel *Label2;
TLabel *labGpchChecker;
TLabel *Label14;
TLabel *labGpchUser;
TCheckBox *cbxGpchCheck;
TLabel *Label7;
TDateEdit *deGpchDate;
TFloatPanel *fpGpcdDetail;
TGroupBox *GroupBox2;
TLabel *Label18;
TLabel *Label19;
TSDEdit *seGpcdLine;
TSDEdit *seGpcdGoods;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TLabel *Label27;
TSDComboBox *scGpcdGccr;
TLabel *Label31;
TMemo *memGpcdDesc;
TGroupBox *GroupBox1;
TLabel *Label3;
TSDComboBox *scGpcdOPlan;
TLabel *Label4;
TSDComboBox *scGpcdNPlan;
TStringGrid *sgdValue;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgGpchSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgGpchDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seGpcdGoodsButtonClick(TObject *Sender);
void __fastcall seGpcdGoodsExit(TObject *Sender);
void __fastcall sgdValueKeyPress(TObject *Sender, char &Key);
void __fastcall seGpchCodeExit(TObject *Sender);
private: // User declarations
AnsiString __fastcall GetDataToGrid();
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall ClearValueGrid();
void __fastcall SetValueGridFromServer();
void __fastcall SetValueGridFromRsGoods();
void __fastcall WriteServerFromValueGrid();
void __fastcall CheckGridValue();
void __fastcall UnDoChange(){};
public: // User declarations
AnsiString FormIniFile;
void __fastcall InitEditControl();
void __fastcall ClearControl(int Section,bool BringToNext);
void __fastcall GetDataFromComObject(int Section);
void __fastcall SendDataToComObject(int Section);
void __fastcall WaitUserInput(int Section);
void __fastcall RefreshGridData(int mAction);
void __fastcall DisplayBill();
void __fastcall GetBill(AnsiString BillID);
void __fastcall FillGridWithData();
void __fastcall ChangeToBrowseState(bool Browse=false);
__fastcall TfrmGpch(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmGpch *frmGpch;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -