📄 pbeh.h
字号:
//---------------------------------------------------------------------------
#ifndef PbehH
#define PbehH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "GenBaseForm.h"
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmPbeh ;
class TfrmPbeh : public TGenBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TSDGrid *sgPbeh;
TFloatPanel *FloatPanel2;
TLabel *Label18;
TLabel *Label19;
TSDEdit *sePbedLine;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TLabel *Label1;
TSDEdit *sePbehCode;
TLabel *Label4;
TLabel *Label5;
TSDComboBox *scPbehExpense;
TLabel *Label7;
TDateEdit *dePbehDate;
TLabel *Label8;
TGroupBox *GroupBox1;
TLabel *labPbehSysDate;
TLabel *Label12;
TLabel *Label11;
TSDEdit *sePbedAmt;
TLabel *labPbedGoodsName;
TFloatPanel *FloatPanel3;
TLabel *Label13;
TLabel *labPbehChecker;
TCheckBox *cbxPbehCheck;
TSDEdit *sePbedGoods;
TSDEdit *sePbehCurrency;
TLabel *Label2;
TSDComboBox *scPbehFmonth;
TLabel *Label3;
TMemo *memPbehDesc;
TLabel *Label35;
TMemo *memPbedDesc;
TLabel *Label6;
TSDEdit *sePbedPrecCode;
TLabel *Label9;
TSDEdit *sePbedPrecdLine;
TLabel *Label10;
TLabel *labPbehUser;
TMainMenu *MainMenu2;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgPbehSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgPbehDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall sePbehCurrencyButtonClick(TObject *Sender);
void __fastcall sePbehCodeExit(TObject *Sender);
void __fastcall sePbedPrecCodeButtonClick(TObject *Sender);
private: // User declarations
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
AnsiString __fastcall GetItemStringToGrid();
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
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 agree=false);
void __fastcall GenrateBill();
__fastcall TfrmPbeh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPbeh *frmPbeh;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -