📄 forecasth.h
字号:
//---------------------------------------------------------------------------
#ifndef ForeCasthH
#define ForeCasthH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BillBaseForm.h"
#include <ComCtrls.hpp>
#include <Dialogs.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 <Grids.hpp>
#include <Mask.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmForeCasth;
class TfrmForeCasth : public TBillBaseForm
{
__published: // IDE-managed Components
TFloatPanel *fpForeCastHead;
TLabel *Label1;
TLabel *Label9;
TLabel *Label4;
TLabel *Label8;
TSDEdit *seForeCasthCode;
TDateEdit *deForeCasthDate;
TSDComboBox *scForeCasthPlanner;
TMemo *memForeCasthDesc;
TLabel *Label2;
TLabel *LabSysDate;
TFloatPanel *ftForeCastDetail;
TLabel *Label3;
TLabel *Label5;
TLabel *Label6;
TLabel *LabPpt1;
TLabel *Label10;
TLabel *LabPpt2;
TLabel *Label11;
TLabel *Label13;
TLabel *Label14;
TSDEdit *seForeCastdGoods;
TSDEdit *seForeCastdGoodsName;
TSDEdit *seForeCastdQty;
TSDComboBox *scForeCastdUnit;
TDateEdit *deForeCastdDate;
TSDEdit *seForeCastdGQty;
TMemo *memForeCastdDesc;
TSDComboBox *scForeCastdType;
TSDComboBox *scForeCastdFrom;
TFloatPanel *FloatPanel3;
TLabel *Label17;
TLabel *labChecker;
TLabel *Label15;
TLabel *labCheckDate;
TCheckBox *cheCheck;
TSDGrid *sgForeCasth;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TLabel *Label7;
TSDEdit *seForeCastdLine;
TLabel *Label12;
TSDEdit *seForeCastdEoq;
TLabel *Label16;
TSDEdit *seForeCastdEoi;
TLabel *Label18;
TSDEdit *seForeCastdSafeQty;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgForeCasthSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgForeCasthDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seForeCasthCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seForeCastdGoodsKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seForeCastdGoodsButtonClick(TObject *Sender);
private: // User declarations
AnsiString __fastcall GetDataToGrid();
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
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 Browse=true);
public: // User declarations
AnsiString FormIniFile;
__fastcall TfrmForeCasth(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmForeCasth *frmForeCasth;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -