📄 bomh.h
字号:
//---------------------------------------------------------------------------
#ifndef BomhH
#define BomhH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BillBaseForm.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Buttons.hpp>
#include <Grids.hpp>
#include <Mask.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
class PACKAGE TfrmBomh;
//---------------------------------------------------------------------------
class TfrmBomh : public TBillBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label6;
TSDEdit *seBomhRlt;
TLabel *Label7;
TSDComboBox *scBomhOp;
TLabel *Label9;
TSDComboBox *scBomhPp;
TLabel *Label13;
TSDComboBox *scBomhProducter;
TMemo *memBomhDesc;
TLabel *Label8;
TFloatPanel *FloatPanel2;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TSDGrid *sgBomh;
TSDEdit *seBomhGoods;
TLabel *Label27;
TLabel *Label26;
TDateEdit *deBomhIdate;
TDateEdit *deBomhEdate;
TPanel *Panel1;
TLabel *Label34;
TSDEdit *seBomhGoodsName;
TSDEdit *seBomhVer;
TLabel *Label3;
TLabel *Label4;
TSDEdit *seBomhModel;
TSDComboBox *scBomhType;
TLabel *Label14;
TLabel *Label12;
TSDComboBox *scBomhUnit;
TFloatPanel *FloatPanel3;
TLabel *Label36;
TLabel *labBomhUser;
TLabel *Label10;
TLabel *labSysDate;
TLabel *Label11;
TSDEdit *seBomhFpr;
TLabel *Label2;
TSDEdit *seBomhEoq;
TLabel *Label15;
TLabel *Label16;
TSDEdit *seBomdSn;
TSDEdit *seBomdGoods;
TPanel *Panel2;
TLabel *Label5;
TLabel *Label19;
TLabel *Label22;
TLabel *Label24;
TLabel *Label18;
TLabel *Label23;
TSDEdit *seBomdGoodsName;
TSDEdit *seBomdVer;
TSDEdit *seBomdModel;
TSDComboBox *scBomdType;
TSDComboBox *scBomdFrom;
TSDComboBox *scBomdUnit;
TLabel *Label17;
TSDEdit *seBomdQty;
TSDEdit *seBomdShl;
TLabel *Label20;
TCheckBox *cheBomdRepFlg;
TLabel *Label28;
TSDComboBox *scBomdPp;
TSDComboBox *scBomdOp;
TLabel *Label29;
TSDComboBox *scBomdCfg;
TLabel *Label30;
TLabel *Label32;
TSDEdit *seBomdLot;
TMemo *memBomdDesc;
TLabel *Label21;
TLabel *Label31;
TSDEdit *seBomdEco;
TLabel *Label25;
TSDComboBox *scBomdProcess;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgBomhSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgBomhDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seBomhGoodsButtonClick(TObject *Sender);
void __fastcall seBomdGoodsButtonClick(TObject *Sender);
void __fastcall seBomhGoodsExit(TObject *Sender);
void __fastcall seBomdGoodsExit(TObject *Sender);
void __fastcall seBomhGoodsKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
AnsiString FormIniFile;
AnsiString __fastcall GetItemStringToGrid();
AnsiString __fastcall GetHeadValue(int Index);
AnsiString __fastcall GetDetailValue(int FieldIndex);
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
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 agree=true);
public: // User declarations
__fastcall TfrmBomh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmBomh *frmBomh;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -