📄 gsp.h
字号:
//---------------------------------------------------------------------------
#ifndef GspH
#define GspH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
#include "CSPIN.h"
#include "SDTreeView.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmGsp;
class TfrmGsp : public TRecBaseForm
{
__published: // IDE-managed Components
TSDGrid *sgGsp;
TFloatPanel *FloatPanel2;
TLabel *Label1;
TCSpinEdit *csGspYear;
TImageList *ImageList2;
TPanel *Panel1;
TSDTreeView *tvGoods;
void __fastcall muSaveClick(TObject *Sender);
void __fastcall tvGoodsChange(TObject *Sender, TTreeNode *Node);
void __fastcall csGspYearChange(TObject *Sender);
void __fastcall muCancelClick(TObject *Sender);
void __fastcall muEditDetailClick(TObject *Sender);
void __fastcall tvGoodsDblClick(TObject *Sender);
void __fastcall sgGspSelectCell(TObject *Sender, int ACol,
int ARow, bool &CanSelect);
void __fastcall FormShow(TObject *Sender);
private:
AnsiString FGoodsValue; // User declarations
AnsiString __fastcall GetFieldValue(int FieldIndex);
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
AnsiString KeyCode;
void __fastcall WaitUserInput();
AnsiString __fastcall GetDataToGrid();
void __fastcall RefreshGridData(int mAction);
void __fastcall FillGridWithData();
void __fastcall InitEditControl();
void __fastcall SetGoodsValue(AnsiString value);
AnsiString __fastcall GetGoodsValue();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall FillGoods(TTreeNode *SelectedPmpcNode);
public: // User declarations
__fastcall TfrmGsp(TComponent* Owner);
__property AnsiString GoodsValue = { read=GetGoodsValue, write=SetGoodsValue };
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmGsp *frmGsp;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -