📄 pquote.h
字号:
//---------------------------------------------------------------------------
#ifndef PquoteH
#define PquoteH
//---------------------------------------------------------------------------
#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>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmPquote ;
class TfrmPquote : public TRecBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel3;
TLabel *Label32;
TSDComboBox *scPquoteSupply;
TLabel *Label25;
TSDEdit *sePquoteCurrency;
TFloatPanel *FloatPanel2;
TLabel *Label11;
TLabel *Label12;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TLabel *Label16;
TLabel *Label17;
TLabel *Label18;
TLabel *Label19;
TLabel *Label20;
TLabel *Label22;
TLabel *Label23;
TSDEdit *sePquoteQty1;
TSDEdit *sePquoteQty2;
TSDEdit *sePquoteQty3;
TSDEdit *sePquoteQty4;
TSDEdit *sePquoteQty5;
TSDEdit *sePquoteQty6;
TSDEdit *sePquoteQty7;
TSDEdit *sePquoteQty8;
TSDEdit *sePquoteQty9;
TSDEdit *sePquoteQty10;
TSDEdit *sePquotePrice1;
TSDEdit *sePquotePrice2;
TSDEdit *sePquotePrice3;
TSDEdit *sePquotePrice4;
TSDEdit *sePquotePrice5;
TSDEdit *sePquotePrice6;
TSDEdit *sePquotePrice7;
TSDEdit *sePquotePrice8;
TSDEdit *sePquotePrice9;
TSDEdit *sePquotePrice10;
TSDEdit *sePquoteRebate1;
TSDEdit *sePquoteRebate2;
TSDEdit *sePquoteRebate3;
TSDEdit *sePquoteRebate4;
TSDEdit *sePquoteRebate5;
TSDEdit *sePquoteRebate6;
TSDEdit *sePquoteRebate7;
TSDEdit *sePquoteRebate8;
TSDEdit *sePquoteRebate9;
TSDEdit *sePquoteRebate10;
TSDGrid *sgPquote;
TLabel *Label1;
TSDEdit *sePquoteGoods;
TLabel *Label2;
TLabel *lblPquoteGoodsName;
TLabel *Label3;
TSDEdit *sePquoteUnit;
TLabel *Label7;
TDateEdit *dePquoteSdate;
TLabel *Label4;
TDateEdit *dePquoteEdate;
TLabel *Label5;
TLabel *lblPquoteSysDate;
TLabel *Label31;
TMemo *memPquoteDesc;
TLabel *Label6;
TLabel *lblPquoteUser;
TSpeedButton *btnViewChg;
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall scPquoteSupplyClick(TObject *Sender);
void __fastcall sePquoteGoodsButtonClick(TObject *Sender);
void __fastcall sePquoteGoodsExit(TObject *Sender);
void __fastcall sePquoteCurrencyButtonClick(TObject *Sender);
void __fastcall sgPquoteDblClick(TObject *Sender);
void __fastcall btnViewChgClick(TObject *Sender);
void __fastcall sePquoteUnitButtonClick(TObject *Sender);
void __fastcall muCancelClick(TObject *Sender);
void __fastcall muSaveClick(TObject *Sender);
private: // User declarations
AnsiString tempsup,tempsupname,tempgcode,temptra;
AnsiString tempgname,temcury,temuser,tempunit;
bool StrFlg;
AnsiString __fastcall GetFieldValue(int FieldIndex);
AnsiString __fastcall GetDataToGrid();
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall WaitUserInput();
void __fastcall RefreshGridData(int mAction);
void __fastcall FillGridWithData();
void __fastcall InitEditControl();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall FiltPquote();
public: // User declarations
__fastcall TfrmPquote(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPquote *frmPquote;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -