📄 squote.h
字号:
//---------------------------------------------------------------------------
#ifndef SquoteH
#define SquoteH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SDGrid.h"
#include <Grids.hpp>
#include <ExtCtrls.hpp>
#include "SDEdit.h"
#include "DateEdit.hpp"
#include <Mask.hpp>
#include "SDComboBox.h"
#include "fpanel.h"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSquote;
class TfrmSquote : public TRecBaseForm
{
__published: // IDE-managed Components
TSDGrid *sgSquote;
TFloatPanel *FloatPanel3;
TSDComboBox *cbSquoteClientCode;
TLabel *Label2;
TLabel *Label4;
TSDComboBox *scSquoteCurrency;
TFloatPanel *FloatPanel1;
TLabel *Label3;
TLabel *Label6;
TLabel *Label10;
TLabel *Label7;
TLabel *Label9;
TSDComboBox *scSquoteUnit;
TSDComboBox *scSquoteSpt;
TDateEdit *deSquoteSdate;
TDateEdit *deSquoteEdate;
TSDEdit *seSquoteDesc;
TSDEdit *seSquoteGoods;
TGroupBox *GroupBox1;
TLabel *Label11;
TLabel *Label12;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TLabel *Label16;
TLabel *Label17;
TLabel *Label18;
TLabel *Label19;
TLabel *Label20;
TLabel *Label21;
TLabel *Label22;
TLabel *Label23;
TSDEdit *seSquoteQty1;
TSDEdit *seSquoteQty2;
TSDEdit *seSquoteQty3;
TSDEdit *seSquoteQty4;
TSDEdit *seSquoteQty5;
TSDEdit *seSquoteQty6;
TSDEdit *seSquoteQty7;
TSDEdit *seSquoteQty8;
TSDEdit *seSquoteQty9;
TSDEdit *seSquoteQty10;
TSDEdit *seSquotePrice2;
TSDEdit *seSquotePrice3;
TSDEdit *seSquotePrice4;
TSDEdit *seSquotePrice5;
TSDEdit *seSquotePrice6;
TSDEdit *seSquotePrice7;
TSDEdit *seSquotePrice8;
TSDEdit *seSquotePrice9;
TSDEdit *seSquotePrice10;
TSDEdit *seSquoteRebate1;
TSDEdit *seSquoteRebate2;
TSDEdit *seSquoteRebate3;
TSDEdit *seSquoteRebate4;
TSDEdit *seSquoteRebate5;
TSDEdit *seSquoteRebate6;
TSDEdit *seSquoteRebate7;
TSDEdit *seSquoteRebate8;
TSDEdit *seSquoteRebate9;
TSDEdit *seSquoteRebate10;
TSDEdit *seSquotePrice1;
TLabel *Label8;
TLabel *Label29;
TSDEdit *seSquoteUser;
TLabel *Label34;
TLabel *lbSquoteSysDate;
void __fastcall cbSquoteClientCodeClick(TObject *Sender);
void __fastcall scSquoteGoodsClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgSquoteClick(TObject *Sender);
void __fastcall seSquoteGoodsButtonClick(TObject *Sender);
void __fastcall seSquoteGoodsExit(TObject *Sender);
private:
AnsiString FClientValue; // User declarations
AnsiString __fastcall GetFieldValue(int FieldIndex);
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall WaitUserInput();
AnsiString __fastcall GetDataToGrid();
void __fastcall RefreshGridData(int mAction);
void __fastcall FillGridWithData();
void __fastcall InitEditControl();
void __fastcall SetClientValue(AnsiString value);
AnsiString __fastcall GetClientValue();
bool MUnit;
public: // User declarations
__fastcall TfrmSquote(TComponent* Owner);
__property AnsiString ClientValue = { read=GetClientValue, write=SetClientValue };
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSquote *frmSquote;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -