📄 advofficeselectors.hpp
字号:
void *__ITMSStyle; /* Advstyleif::ITMSStyle */
public:
operator ITMSStyle*(void) { return (ITMSStyle*)&__ITMSStyle; }
};
class DELPHICLASS TAdvOfficeToolSelector;
class PASCALIMPLEMENTATION TAdvOfficeToolSelector : public TAdvCustomOfficeSelector
{
typedef TAdvCustomOfficeSelector inherited;
private:
int FToolWidth;
int FToolHeight;
protected:
virtual void __fastcall SetSelectorPanel(void);
virtual void __fastcall GetToolImage(Graphics::TBitmap* bmp);
__published:
__property AllowFloating ;
__property Appearance ;
__property BorderDropDownColor = {default=8421504};
__property ButtonsPerRow = {default=1};
__property Caption ;
__property CaptionAppearance ;
__property DragGripAppearance ;
__property Enabled = {default=1};
__property CloseOnSelect ;
__property ColorDropDown ;
__property ColorDropDownTo = {default=536870911};
__property ColorDropDownFloating ;
__property ColorDropDownFloatingTo = {default=536870911};
__property DropDownButton = {default=0};
__property DragGripPosition ;
__property ToolImages ;
__property ShowHint ;
__property SelectedIndex ;
__property SelectionAppearance ;
__property Tools ;
__property int OwnerDrawToolWidth = {read=FToolWidth, write=FToolWidth, default=0};
__property int OwnerDrawToolHeight = {read=FToolHeight, write=FToolHeight, default=0};
__property OnMouseEnter ;
__property OnMouseLeave ;
__property OnDropDown ;
__property OnDropDownFloat ;
__property OnDropDownClose ;
__property OnClick ;
__property OnSelect ;
__property OnHotTool ;
__property OnDrawTool ;
public:
#pragma option push -w-inl
/* TAdvCustomOfficeSelector.Create */ inline __fastcall virtual TAdvOfficeToolSelector(Classes::TComponent* AOwner) : TAdvCustomOfficeSelector(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TAdvCustomOfficeSelector.Destroy */ inline __fastcall virtual ~TAdvOfficeToolSelector(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeToolSelector(HWND ParentWindow) : TAdvCustomOfficeSelector(ParentWindow) { }
#pragma option pop
};
#pragma option push -b-
enum TSelectionType { stOffice, stBorland };
#pragma option pop
class DELPHICLASS TAdvOfficePenStyleSelector;
class PASCALIMPLEMENTATION TAdvOfficePenStyleSelector : public TAdvCustomOfficeSelector
{
typedef TAdvCustomOfficeSelector inherited;
private:
TSelectionType FSelectionType;
TPenStyleSelectEvent FOnSelectPenStyle;
void __fastcall Initialize(void);
Graphics::TPenStyle __fastcall GetSelectedPenStyle(void);
void __fastcall SetSelectedPenStyle(const Graphics::TPenStyle Value);
void __fastcall SetSelectionType(const TSelectionType Value);
Graphics::TColor __fastcall GetPenColor(void);
void __fastcall SetPenColor(const Graphics::TColor Value);
protected:
virtual void __fastcall Loaded(void);
virtual void __fastcall SetSelectorPanel(void);
virtual void __fastcall DoSelect(int Index, TAdvSelectorItem* Item);
Graphics::TPenStyle __fastcall GetPenStyleAtIndex(int Index);
int __fastcall GetIndexOfStyle(Graphics::TPenStyle APenStyle);
public:
__fastcall virtual TAdvOfficePenStyleSelector(Classes::TComponent* AOwner);
__fastcall virtual ~TAdvOfficePenStyleSelector(void);
__property Graphics::TPenStyle SelectedPenStyle = {read=GetSelectedPenStyle, write=SetSelectedPenStyle, nodefault};
__published:
__property AllowFloating ;
__property CaptionAppearance ;
__property DragGripAppearance ;
__property Appearance ;
__property BorderDropDownColor = {default=8421504};
__property Caption ;
__property CloseOnSelect ;
__property ColorDropDown ;
__property ColorDropDownTo = {default=536870911};
__property ColorDropDownFloating ;
__property ColorDropDownFloatingTo = {default=536870911};
__property DropDownButton = {default=0};
__property DragGripPosition ;
__property Enabled = {default=1};
__property Graphics::TColor PenColor = {read=GetPenColor, write=SetPenColor, nodefault};
__property SelectedIndex ;
__property TSelectionType SelectionType = {read=FSelectionType, write=SetSelectionType, default=0};
__property ShowHint ;
__property SelectionAppearance ;
__property Tools ;
__property OnMouseEnter ;
__property OnMouseLeave ;
__property OnDropDown ;
__property OnDropDownFloat ;
__property OnDropDownClose ;
__property OnClick ;
__property OnSelect ;
__property TPenStyleSelectEvent OnSelectPenStyle = {read=FOnSelectPenStyle, write=FOnSelectPenStyle};
__property OnHotTool ;
__property OnDrawTool ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficePenStyleSelector(HWND ParentWindow) : TAdvCustomOfficeSelector(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TAdvOfficePenWidthSelector;
class PASCALIMPLEMENTATION TAdvOfficePenWidthSelector : public TAdvCustomOfficeSelector
{
typedef TAdvCustomOfficeSelector inherited;
private:
void __fastcall Initialize(void);
protected:
virtual void __fastcall SetSelectorPanel(void);
virtual int __fastcall GetSelectedPenWidth(void);
virtual void __fastcall SetSelectedPenWidth(const int Value);
public:
__fastcall virtual TAdvOfficePenWidthSelector(Classes::TComponent* AOwner);
__fastcall virtual ~TAdvOfficePenWidthSelector(void);
__property int SelectedPenWidth = {read=GetSelectedPenWidth, write=SetSelectedPenWidth, nodefault};
__published:
__property AllowFloating ;
__property Appearance ;
__property BorderDropDownColor = {default=8421504};
__property Caption ;
__property CaptionAppearance ;
__property DragGripAppearance ;
__property CloseOnSelect ;
__property ColorDropDown ;
__property ColorDropDownTo = {default=536870911};
__property ColorDropDownFloating ;
__property ColorDropDownFloatingTo = {default=536870911};
__property DropDownButton = {default=0};
__property DragGripPosition ;
__property Enabled = {default=1};
__property ShowHint ;
__property SelectedIndex ;
__property SelectionAppearance ;
__property Tools ;
__property OnMouseEnter ;
__property OnMouseLeave ;
__property OnDropDown ;
__property OnDropDownFloat ;
__property OnDropDownClose ;
__property OnClick ;
__property OnSelect ;
__property OnHotTool ;
__property OnDrawTool ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficePenWidthSelector(HWND ParentWindow) : TAdvCustomOfficeSelector(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TAdvOfficeBrushStyleSelector;
class PASCALIMPLEMENTATION TAdvOfficeBrushStyleSelector : public TAdvCustomOfficeSelector
{
typedef TAdvCustomOfficeSelector inherited;
private:
TSelectionType FSelectionType;
TBrushStyleSelectEvent FOnSelectBrushStyle;
void __fastcall Initialize(void);
Graphics::TBrushStyle __fastcall GetSelectedBrushStyle(void);
void __fastcall SetSelectedBrushStyle(const Graphics::TBrushStyle Value);
Graphics::TColor __fastcall GetBrushColor(void);
void __fastcall SetBrushColor(const Graphics::TColor Value);
void __fastcall SetSelectionType(const TSelectionType Value);
protected:
virtual void __fastcall Loaded(void);
virtual void __fastcall SetSelectorPanel(void);
virtual void __fastcall DoSelect(int Index, TAdvSelectorItem* Item);
Graphics::TBrushStyle __fastcall GetBrushStyleAtIndex(int Index);
int __fastcall GetIndexOfBrushStyle(Graphics::TBrushStyle ABrushStyle);
public:
__fastcall virtual TAdvOfficeBrushStyleSelector(Classes::TComponent* AOwner);
__fastcall virtual ~TAdvOfficeBrushStyleSelector(void);
__property Graphics::TBrushStyle SelectedBrushStyle = {read=GetSelectedBrushStyle, write=SetSelectedBrushStyle, nodefault};
__published:
__property AllowFloating ;
__property Appearance ;
__property BorderDropDownColor = {default=8421504};
__property Graphics::TColor BrushColor = {read=GetBrushColor, write=SetBrushColor, nodefault};
__property Caption ;
__property CaptionAppearance ;
__property DragGripAppearance ;
__property CloseOnSelect ;
__property ColorDropDown ;
__property ColorDropDownTo = {default=536870911};
__property ColorDropDownFloating ;
__property ColorDropDownFloatingTo = {default=536870911};
__property DropDownButton = {default=0};
__property DragGripPosition ;
__property Enabled = {default=1};
__property TSelectionType SelectionType = {read=FSelectionType, write=SetSelectionType, default=0};
__property SelectedIndex ;
__property ShowHint ;
__property SelectionAppearance ;
__property Tools ;
__property OnMouseEnter ;
__property OnMouseLeave ;
__property OnDropDown ;
__property OnDropDownFloat ;
__property OnDropDownClose ;
__property OnClick ;
__property OnSelect ;
__property TBrushStyleSelectEvent OnSelectBrushStyle = {read=FOnSelectBrushStyle, write=FOnSelectBrushStyle};
__property OnHotTool ;
__property OnDrawTool ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeBrushStyleSelector(HWND ParentWindow) : TAdvCustomOfficeSelector(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TAdvOfficeShadowSelector;
class PASCALIMPLEMENTATION TAdvOfficeShadowSelector : public TAdvCustomOfficeSelector
{
typedef TAdvCustomOfficeSelector inherited;
private:
void __fastcall Initialize(void);
protected:
virtual void __fastcall Loaded(void);
virtual void __fastcall SetSelectorPanel(void);
public:
__fastcall virtual TAdvOfficeShadowSelector(Classes::TComponent* AOwner);
__fastcall virtual ~TAdvOfficeShadowSelector(void);
__published:
__property AllowFloating ;
__property Appearance ;
__property BorderDropDownColor = {default=8421504};
__property Caption ;
__property CaptionAppearance ;
__property DragGripAppearance ;
__property CloseOnSelect ;
__property ColorDropDown ;
__property ColorDropDownTo = {default=536870911};
__property ColorDropDownFloating ;
__property ColorDropDownFloatingTo = {default=536870911};
__property DropDownButton = {default=0};
__property DragGripPosition ;
__property Enabled = {default=1};
__property ShowHint ;
__property SelectedIndex ;
__property SelectionAppearance ;
__property Tools ;
__property OnMouseEnter ;
__property OnMouseLeave ;
__property OnDropDown ;
__property OnDropDownFloat ;
__property OnDropDownClose ;
__property OnClick ;
__property OnSelect ;
__property OnHotTool ;
__property OnDrawTool ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeShadowSelector(HWND ParentWindow) : TAdvCustomOfficeSelector(ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TAdvOfficeTableBorderSelector;
class PASCALIMPLEMENTATION TAdvOfficeTableBorderSelector : public TAdvCustomOfficeSelector
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -