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

📄 inplaceeditorsdemoframemanager.h

📁 胜天进销存源码,国产优秀的进销存
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef InPlaceEditorsDemoFrameManagerH
#define InPlaceEditorsDemoFrameManagerH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TEditorDemoBaseFrame : public TForm
{
__published:	// IDE-managed Components
  TLabel *lblFrameDescription;
public:
  __fastcall TEditorDemoBaseFrame(TComponent* Owner);
  void __fastcall DrawText(AnsiString AStrings[], TPaintBox* APaintBox, int AStringsCount);
  void __fastcall SetDescription(AnsiString ADescription);
  bool __fastcall GetDescriptionVisible();
  void __fastcall SetDescriptionVisible(bool AValue);
  __property bool DescriptionVisible = {read = GetDescriptionVisible, write = SetDescriptionVisible};
};

class TEditorDemoFrameManager: public TObject
{
private:
  TList *FFrameList;
  TEditorDemoBaseFrame* __fastcall GetFrame(int AIndex);
  int __fastcall GetFramesCount();
public:
  virtual __fastcall TEditorDemoFrameManager();
  __fastcall ~TEditorDemoFrameManager();
  void __fastcall UpdateFrameColors(TColor AColor);
  void __fastcall AddFrame(TForm* AFrame, int AFrameId);
  void __fastcall SetDescriptionsVisible(bool AValue);

  __property int FramesCount = {read = GetFramesCount};
  __property TEditorDemoBaseFrame* Frames[int AIndex] = {read = GetFrame};
};

//---------------------------------------------------------------------------
extern PACKAGE TEditorDemoBaseFrame *EditorDemoBaseFrame;

TEditorDemoFrameManager* EditorDemoFrameManager();
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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