📄 postype.h
字号:
//---------------------------------------------------------------------------
#ifndef PosTypeH
#define PosTypeH
//---------------------------------------------------------------------------
#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 <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmPosType ;
class TfrmPosType : public TRecBaseForm
{
__published: // IDE-managed Components
TSDGrid *sgPosType;
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TSDEdit *sePosTypeCode;
TSDEdit *sePosTypeName;
TGroupBox *GroupBox1;
TRadioButton *optPosTypeInc;
TRadioButton *optPosTypeDec;
TSDComboBox *scPosTypeFlg;
TRadioButton *optPosTypeNone;
TMemo *memPosTypeDesc;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormCreate(TObject *Sender);
void __fastcall sgPosTypeClick(TObject *Sender);
void __fastcall sePosTypeCodeExit(TObject *Sender);
private: // User declarations
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();
public: // User declarations
__fastcall TfrmPosType(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPosType *frmPosType;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -