📄 ancreclist.h
字号:
//---------------------------------------------------------------------------
#ifndef AncRecListH
#define AncRecListH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CommFunction.h"
#include <ComCtrls.hpp>
//#include <ImgList.hpp>
//#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TAncRecListForm : public TForm
{
__published: // IDE-managed Components
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:
//this variable indicate the current state of form
TControlAction CurState;
long ComErrNum;
bool IsCreate;
AnsiString FQueryString;
void __fastcall SetQueryString(AnsiString value);
AnsiString __fastcall GetQueryString();
public:
TControlGroups *ClientGroup;
TComServer *comServer;
protected:
int __fastcall ShowMessageWindow(AnsiString Msg,TMessageWindowStyle mStyle);
virtual void __fastcall InitEditControl()=0;
__property TControlAction CurrentState={read=CurState};
public: // User declarations
__fastcall TAncRecListForm(TComponent* Owner);
__fastcall TAncRecListForm(TComponent* Owner,TComServer *FComServer);
__fastcall TAncRecListForm(TComponent *Owner,int ClassName,AnsiString WhereStr);
__fastcall ~TAncRecListForm();
__property AnsiString QueryString = { read=GetQueryString, write=SetQueryString };
};
//---------------------------------------------------------------------------
extern PACKAGE TAncRecListForm *AncRecListForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -