⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 property.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef ProPertyH
#define ProPertyH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmProPerty;
class TfrmProPerty : public TRecBaseForm
{
__published:	// IDE-managed Components
        TPageControl *PageProPerty;
        TTabSheet *TProPerty1;
        TTabSheet *TProPerty2;
        TFloatPanel *FloatPanel1;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label6;
        TSDEdit *seProperty1ID;
        TSDEdit *seProperty1Name;
        TSDGrid *sgProPerty2;
        TFloatPanel *FloatPanel2;
        TLabel *Label7;
        TLabel *Label8;
        TLabel *Label12;
        TSDEdit *seProperty2ID;
        TSDEdit *seProperty2Name;
        TSDEdit *seProperty1Desc;
        TSDEdit *seProperty2Desc;
        TSDGrid *sgProPerty1;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall sgProPerty2Click(TObject *Sender);
        void __fastcall sgProPerty1Click(TObject *Sender);
        void __fastcall muFirstClick(TObject *Sender);
        void __fastcall muPreviousClick(TObject *Sender);
        void __fastcall muNextClick(TObject *Sender);
        void __fastcall muLastClick(TObject *Sender);
private:	// User declarations
        int m_PropertyPpt;
        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 SetSheetState();
public:		// User declarations
        __fastcall TfrmProPerty(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmProPerty *frmProPerty;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -