📄 advofficebuttons.hpp
字号:
__property OnKeyDown ;
__property OnKeyPress ;
__property OnKeyUp ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property TAnchorClick OnAnchorClick = {read=FAnchorClick, write=FAnchorClick};
__property TAnchorClick OnAnchorEnter = {read=FAnchorEnter, write=FAnchorEnter};
__property TAnchorClick OnAnchorExit = {read=FAnchorExit, write=FAnchorExit};
__property AnsiString Version = {read=GetVersion, write=SetVersion};
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeRadioButton(HWND ParentWindow) : Controls::TCustomControl(ParentWindow) { }
#pragma option pop
};
typedef void __fastcall (__closure *TEnabledEvent)(System::TObject* Sender, int ItemIndex, bool &Enabled);
class DELPHICLASS TCustomAdvOfficeRadioGroup;
class PASCALIMPLEMENTATION TCustomAdvOfficeRadioGroup : public Advgroupbox::TAdvGroupBox
{
typedef Advgroupbox::TAdvGroupBox inherited;
private:
Classes::TList* FButtons;
Classes::TStrings* FItems;
int FItemIndex;
int FColumns;
bool FReading;
bool FUpdating;
Graphics::TColor FCheckColor;
Classes::TAlignment FAlignment;
Stdctrls::TTextLayout FBtnVAlign;
Controls::TImageList* FImages;
Picturecontainer::TPictureContainer* FContainer;
bool FEllipsis;
int FShadowOffset;
Graphics::TColor FShadowColor;
TEnabledEvent FOnIsEnabled;
void __fastcall ArrangeButtons(void);
void __fastcall ButtonClick(System::TObject* Sender);
void __fastcall ItemsChange(System::TObject* Sender);
void __fastcall SetButtonCount(int Value);
void __fastcall SetColumns(int Value);
void __fastcall SetItemIndex(int Value);
void __fastcall SetItems(Classes::TStrings* Value);
void __fastcall UpdateButtons(void);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
void __fastcall SetCheckColor(const Graphics::TColor Value);
void __fastcall SetAlignment(const Classes::TAlignment Value);
void __fastcall SetButtonVertAlign(const Stdctrls::TTextLayout Value);
void __fastcall SetContainer(const Picturecontainer::TPictureContainer* Value);
HIDESBASE void __fastcall SetImages(const Controls::TImageList* Value);
void __fastcall SetEllipsis(const bool Value);
void __fastcall SetShadowColor(const Graphics::TColor Value);
void __fastcall SetShadowOffset(const int Value);
HIDESBASE AnsiString __fastcall GetVersion();
HIDESBASE void __fastcall SetVersion(const AnsiString Value);
protected:
HIDESBASE virtual int __fastcall GetVersionNr(void);
virtual void __fastcall Loaded(void);
virtual void __fastcall ReadState(Classes::TReader* Reader);
virtual bool __fastcall CanModify(void);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation);
__property int Columns = {read=FColumns, write=SetColumns, default=1};
__property int ItemIndex = {read=FItemIndex, write=SetItemIndex, default=-1};
__property Classes::TStrings* Items = {read=FItems, write=SetItems};
public:
DYNAMIC void __fastcall GetChildren(Classes::TGetChildProc Proc, Classes::TComponent* Root);
__fastcall virtual TCustomAdvOfficeRadioGroup(Classes::TComponent* AOwner);
__fastcall virtual ~TCustomAdvOfficeRadioGroup(void);
DYNAMIC void __fastcall FlipChildren(bool AllLevels);
void __fastcall PushKey(char &Key);
void __fastcall PushKeyDown(Word &Key, Classes::TShiftState Shift);
__published:
__property Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
__property Stdctrls::TTextLayout ButtonVertAlign = {read=FBtnVAlign, write=SetButtonVertAlign, default=0};
__property Graphics::TColor CheckColor = {read=FCheckColor, write=SetCheckColor, default=0};
__property bool Ellipsis = {read=FEllipsis, write=SetEllipsis, nodefault};
__property Controls::TImageList* Images = {read=FImages, write=SetImages};
__property Picturecontainer::TPictureContainer* PictureContainer = {read=FContainer, write=SetContainer};
__property Graphics::TColor ShadowColor = {read=FShadowColor, write=SetShadowColor, default=12632256};
__property int ShadowOffset = {read=FShadowOffset, write=SetShadowOffset, default=1};
__property TEnabledEvent OnIsEnabled = {read=FOnIsEnabled, write=FOnIsEnabled};
__property AnsiString Version = {read=GetVersion, write=SetVersion};
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TCustomAdvOfficeRadioGroup(HWND ParentWindow) : Advgroupbox::TAdvGroupBox(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TAdvOfficeRadioGroup;
class PASCALIMPLEMENTATION TAdvOfficeRadioGroup : public TCustomAdvOfficeRadioGroup
{
typedef TCustomAdvOfficeRadioGroup inherited;
__published:
__property Align = {default=0};
__property Anchors = {default=3};
__property BiDiMode ;
__property Constraints ;
__property DragKind = {default=0};
__property ParentBiDiMode = {default=1};
__property Caption ;
__property Color = {default=-16777211};
__property Columns = {default=1};
__property Ctl3D = {default=0};
__property DragCursor = {default=-12};
__property DragMode = {default=0};
__property Enabled = {default=1};
__property Font ;
__property ItemIndex = {default=-1};
__property Items ;
__property ParentColor = {default=1};
__property ParentCtl3D = {default=0};
__property ParentFont = {default=1};
__property ParentShowHint = {default=1};
__property PopupMenu ;
__property ShowHint ;
__property TabOrder = {default=-1};
__property TabStop = {default=0};
__property Visible = {default=1};
__property OnClick ;
__property OnContextPopup ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnEndDock ;
__property OnStartDock ;
__property OnStartDrag ;
public:
#pragma option push -w-inl
/* TCustomAdvOfficeRadioGroup.Create */ inline __fastcall virtual TAdvOfficeRadioGroup(Classes::TComponent* AOwner) : TCustomAdvOfficeRadioGroup(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomAdvOfficeRadioGroup.Destroy */ inline __fastcall virtual ~TAdvOfficeRadioGroup(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeRadioGroup(HWND ParentWindow) : TCustomAdvOfficeRadioGroup(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TCustomAdvOfficeCheckGroup;
class PASCALIMPLEMENTATION TCustomAdvOfficeCheckGroup : public Advgroupbox::TAdvGroupBox
{
typedef Advgroupbox::TAdvGroupBox inherited;
private:
Classes::TList* FButtons;
Classes::TStrings* FItems;
int FColumns;
bool FReading;
bool FUpdating;
Graphics::TColor FCheckColor;
Classes::TAlignment FAlignment;
Stdctrls::TTextLayout FBtnVAlign;
Controls::TImageList* FImages;
Picturecontainer::TPictureContainer* FContainer;
bool FEllipsis;
int FShadowOffset;
Graphics::TColor FShadowColor;
TEnabledEvent FOnIsEnabled;
void __fastcall ArrangeButtons(void);
void __fastcall ButtonClick(System::TObject* Sender);
void __fastcall ItemsChange(System::TObject* Sender);
void __fastcall SetButtonCount(int Value);
void __fastcall SetColumns(int Value);
void __fastcall SetItems(Classes::TStrings* Value);
void __fastcall UpdateButtons(void);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
void __fastcall SetCheckColor(const Graphics::TColor Value);
void __fastcall SetAlignment(const Classes::TAlignment Value);
void __fastcall SetButtonVertAlign(const Stdctrls::TTextLayout Value);
void __fastcall SetContainer(const Picturecontainer::TPictureContainer* Value);
HIDESBASE void __fastcall SetImages(const Controls::TImageList* Value);
void __fastcall SetEllipsis(const bool Value);
void __fastcall SetShadowColor(const Graphics::TColor Value);
void __fastcall SetShadowOffset(const int Value);
bool __fastcall GetChecked(int Index);
void __fastcall SetChecked(int Index, const bool Value);
bool __fastcall GetReadOnly(int Index);
void __fastcall SetReadOnly(int Index, const bool Value);
HIDESBASE AnsiString __fastcall GetVersion();
HIDESBASE void __fastcall SetVersion(const AnsiString Value);
HIDESBASE int __fastcall GetVersionNr(void);
protected:
virtual void __fastcall Loaded(void);
virtual void __fastcall ReadState(Classes::TReader* Reader);
virtual bool __fastcall CanModify(void);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation);
__property int Columns = {read=FColumns, write=SetColumns, default=1};
__property Classes::TStrings* Items = {read=FItems, write=SetItems};
public:
DYNAMIC void __fastcall GetChildren(Classes::TGetChildProc Proc, Classes::TComponent* Root);
__fastcall virtual TCustomAdvOfficeCheckGroup(Classes::TComponent* AOwner);
__fastcall virtual ~TCustomAdvOfficeCheckGroup(void);
DYNAMIC void __fastcall FlipChildren(bool AllLevels);
void __fastcall PushKey(char &Key);
void __fastcall PushKeyDown(Word &Key, Classes::TShiftState Shift);
__property bool Checked[int Index] = {read=GetChecked, write=SetChecked};
__property bool ReadOnly[int Index] = {read=GetReadOnly, write=SetReadOnly};
__published:
__property Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
__property Stdctrls::TTextLayout ButtonVertAlign = {read=FBtnVAlign, write=SetButtonVertAlign, default=0};
__property Graphics::TColor CheckColor = {read=FCheckColor, write=SetCheckColor, default=0};
__property bool Ellipsis = {read=FEllipsis, write=SetEllipsis, nodefault};
__property Controls::TImageList* Images = {read=FImages, write=SetImages};
__property Picturecontainer::TPictureContainer* PictureContainer = {read=FContainer, write=SetContainer};
__property Graphics::TColor ShadowColor = {read=FShadowColor, write=SetShadowColor, default=12632256};
__property int ShadowOffset = {read=FShadowOffset, write=SetShadowOffset, default=1};
__property TEnabledEvent OnIsEnabled = {read=FOnIsEnabled, write=FOnIsEnabled};
__property AnsiString Version = {read=GetVersion, write=SetVersion};
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TCustomAdvOfficeCheckGroup(HWND ParentWindow) : Advgroupbox::TAdvGroupBox(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TAdvOfficeCheckGroup;
class PASCALIMPLEMENTATION TAdvOfficeCheckGroup : public TCustomAdvOfficeCheckGroup
{
typedef TCustomAdvOfficeCheckGroup inherited;
__published:
__property Align = {default=0};
__property Anchors = {default=3};
__property BiDiMode ;
__property Constraints ;
__property DragKind = {default=0};
__property ParentBiDiMode = {default=1};
__property Caption ;
__property Color = {default=-16777211};
__property Columns = {default=1};
__property Ctl3D = {default=0};
__property DragCursor = {default=-12};
__property DragMode = {default=0};
__property Enabled = {default=1};
__property Font ;
__property Items ;
__property ParentColor = {default=1};
__property ParentCtl3D = {default=0};
__property ParentFont = {default=1};
__property ParentShowHint = {default=1};
__property PopupMenu ;
__property ShowHint ;
__property TabOrder = {default=-1};
__property TabStop = {default=0};
__property Visible = {default=1};
__property OnClick ;
__property OnContextPopup ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnEndDock ;
__property OnStartDock ;
__property OnStartDrag ;
public:
#pragma option push -w-inl
/* TCustomAdvOfficeCheckGroup.Create */ inline __fastcall virtual TAdvOfficeCheckGroup(Classes::TComponent* AOwner) : TCustomAdvOfficeCheckGroup(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomAdvOfficeCheckGroup.Destroy */ inline __fastcall virtual ~TAdvOfficeCheckGroup(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeCheckGroup(HWND ParentWindow) : TCustomAdvOfficeCheckGroup(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
static const Shortint MAJ_VER = 0x1;
static const Shortint MIN_VER = 0x0;
static const Shortint REL_VER = 0x0;
static const Shortint BLD_VER = 0x0;
} /* namespace Advofficebuttons */
using namespace Advofficebuttons;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Advofficebuttons
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -