advofficetabset.hpp
来自「一个非常棒的控件.做商业软件特别适用.里面的控件涉及面非常的广,有兴趣的话可以下」· HPP 代码 · 共 766 行 · 第 1/3 页
HPP
766 行
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Advofficetabset.pas' rev: 10.00
#ifndef AdvofficetabsetHPP
#define AdvofficetabsetHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Math.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Imglist.hpp> // Pascal unit
#include <Commctrl.hpp> // Pascal unit
#include <Extctrls.hpp> // Pascal unit
#include <Comctrls.hpp> // Pascal unit
#include <Advgdip.hpp> // Pascal unit
#include <Gdipicture.hpp> // Pascal unit
#include <Advhintinfo.hpp> // Pascal unit
#include <Advglowbutton.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Advofficetabset
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TGradientDirection { gdHorizontal, gdVertical };
#pragma option pop
#pragma option push -b-
enum TGlowState { gsHover, gsPush, gsNone };
#pragma option pop
#pragma option push -b-
enum TButtonLayout { blGlyphLeft, blGlyphTop, blGlyphRight, blGlyphBottom };
#pragma option pop
#pragma option push -b-
enum TDropDownPosition { dpRight, dpBottom };
#pragma option pop
class DELPHICLASS TTabSetTabSettings;
class PASCALIMPLEMENTATION TTabSetTabSettings : public Classes::TPersistent
{
typedef Classes::TPersistent inherited;
private:
int FLeftMargin;
int FRightMargin;
Classes::TNotifyEvent FOnChange;
int FHeight;
int FStartMargin;
int FEndMargin;
int FSpacing;
void __fastcall SetLeftMargin(const int Value);
void __fastcall SetRightMargin(const int Value);
void __fastcall SetHeight(const int Value);
void __fastcall SetStartMargin(const int Value);
void __fastcall SetEndMargin(const int Value);
void __fastcall SetSpacing(const int Value);
protected:
void __fastcall Changed(void);
__property int EndMargin = {read=FEndMargin, write=SetEndMargin, nodefault};
public:
__fastcall TTabSetTabSettings(void);
virtual void __fastcall Assign(Classes::TPersistent* Source);
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__published:
__property int LeftMargin = {read=FLeftMargin, write=SetLeftMargin, default=4};
__property int RightMargin = {read=FRightMargin, write=SetRightMargin, default=4};
__property int StartMargin = {read=FStartMargin, write=SetStartMargin, default=60};
__property int Height = {read=FHeight, write=SetHeight, default=26};
__property int Spacing = {read=FSpacing, write=SetSpacing, default=4};
public:
#pragma option push -w-inl
/* TPersistent.Destroy */ inline __fastcall virtual ~TTabSetTabSettings(void) { }
#pragma option pop
};
class DELPHICLASS TGradientBackground;
class PASCALIMPLEMENTATION TGradientBackground : public Classes::TPersistent
{
typedef Classes::TPersistent inherited;
private:
int FSteps;
Graphics::TColor FColor;
Graphics::TColor FColorTo;
TGradientDirection FDirection;
Classes::TNotifyEvent FOnChange;
void __fastcall SetColor(const Graphics::TColor Value);
void __fastcall SetColorTo(const Graphics::TColor Value);
void __fastcall SetDirection(const TGradientDirection Value);
void __fastcall SetSteps(const int Value);
void __fastcall Changed(void);
public:
__fastcall TGradientBackground(void);
virtual void __fastcall Assign(Classes::TPersistent* Source);
__published:
__property Graphics::TColor Color = {read=FColor, write=SetColor, nodefault};
__property Graphics::TColor ColorTo = {read=FColorTo, write=SetColorTo, nodefault};
__property TGradientDirection Direction = {read=FDirection, write=SetDirection, nodefault};
__property int Steps = {read=FSteps, write=SetSteps, default=64};
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
public:
#pragma option push -w-inl
/* TPersistent.Destroy */ inline __fastcall virtual ~TGradientBackground(void) { }
#pragma option pop
};
class DELPHICLASS TVistaBackground;
class PASCALIMPLEMENTATION TVistaBackground : public Classes::TPersistent
{
typedef Classes::TPersistent inherited;
private:
int FSteps;
Graphics::TColor FColor;
Graphics::TColor FColorTo;
Classes::TNotifyEvent FOnChange;
Graphics::TColor FColorMirror;
Graphics::TColor FColorMirrorTo;
Graphics::TColor FBorderColor;
Advglowbutton::TGDIPGradient FGradientMirror;
Advglowbutton::TGDIPGradient FGradient;
void __fastcall SetColor(const Graphics::TColor Value);
void __fastcall SetColorTo(const Graphics::TColor Value);
void __fastcall SetSteps(const int Value);
void __fastcall Changed(void);
void __fastcall SetBorderColor(const Graphics::TColor Value);
void __fastcall SetColorMirror(const Graphics::TColor Value);
void __fastcall SetColorMirrorTo(const Graphics::TColor Value);
void __fastcall SetGradient(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientMirror(const Advglowbutton::TGDIPGradient Value);
public:
__fastcall TVistaBackground(void);
virtual void __fastcall Assign(Classes::TPersistent* Source);
__published:
__property Graphics::TColor BorderColor = {read=FBorderColor, write=SetBorderColor, nodefault};
__property Graphics::TColor Color = {read=FColor, write=SetColor, nodefault};
__property Graphics::TColor ColorTo = {read=FColorTo, write=SetColorTo, nodefault};
__property Graphics::TColor ColorMirror = {read=FColorMirror, write=SetColorMirror, nodefault};
__property Graphics::TColor ColorMirrorTo = {read=FColorMirrorTo, write=SetColorMirrorTo, nodefault};
__property Advglowbutton::TGDIPGradient Gradient = {read=FGradient, write=SetGradient, nodefault};
__property Advglowbutton::TGDIPGradient GradientMirror = {read=FGradientMirror, write=SetGradientMirror, nodefault};
__property int Steps = {read=FSteps, write=SetSteps, default=64};
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
public:
#pragma option push -w-inl
/* TPersistent.Destroy */ inline __fastcall virtual ~TVistaBackground(void) { }
#pragma option pop
};
class DELPHICLASS TCustomTabAppearance;
class PASCALIMPLEMENTATION TCustomTabAppearance : public Classes::TPersistent
{
typedef Classes::TPersistent inherited;
private:
Classes::TNotifyEvent FOnChange;
Graphics::TColor FBorderColor;
Graphics::TColor FBorderColorHot;
Graphics::TColor FColor;
Graphics::TColor FColorTo;
Graphics::TColor FColorHot;
Graphics::TColor FColorHotTo;
Graphics::TColor FColorSelectedTo;
Graphics::TColor FBorderColorDisabled;
Graphics::TColor FBorderColorSelected;
Graphics::TColor FColorDisabled;
Graphics::TColor FColorDisabledTo;
Graphics::TColor FColorSelected;
Graphics::TColor FColorMirror;
Graphics::TColor FColorMirrorTo;
Graphics::TColor FColorMirrorHot;
Graphics::TColor FColorMirrorHotTo;
Advglowbutton::TGDIPGradient FGradientMirror;
Advglowbutton::TGDIPGradient FGradientMirrorHot;
Advglowbutton::TGDIPGradient FGradient;
Advglowbutton::TGDIPGradient FGradientHot;
Graphics::TColor FColorMirrorDisabledTo;
Graphics::TColor FColorMirrorDisabled;
Graphics::TColor FColorMirrorSelectedTo;
Graphics::TColor FColorMirrorSelected;
Advglowbutton::TGDIPGradient FGradientSelected;
Advglowbutton::TGDIPGradient FGradientDisabled;
Advglowbutton::TGDIPGradient FGradientMirrorSelected;
Advglowbutton::TGDIPGradient FGradientMirrorDisabled;
Graphics::TColor FTextColorDisabled;
Graphics::TColor FTextColorSelected;
Graphics::TColor FTextColor;
Graphics::TColor FTextColorHot;
TGradientBackground* FBackGround;
Graphics::TColor FBorderColorSelectedHot;
Graphics::TColor FBorderColorDown;
Graphics::TFont* FFont;
void __fastcall OnBackGroundChanged(System::TObject* Sender);
void __fastcall SetBackGround(const TGradientBackground* Value);
void __fastcall SetBorderColor(const Graphics::TColor Value);
void __fastcall SetBorderColorDisabled(const Graphics::TColor Value);
void __fastcall SetBorderColorSelected(const Graphics::TColor Value);
void __fastcall SetBorderColorSelectedHot(const Graphics::TColor Value);
void __fastcall SetColor(const Graphics::TColor Value);
void __fastcall SetColorDisabled(const Graphics::TColor Value);
void __fastcall SetColorDisabledTo(const Graphics::TColor Value);
void __fastcall SetColorHot(const Graphics::TColor Value);
void __fastcall SetColorHotTo(const Graphics::TColor Value);
void __fastcall SetColorMirror(const Graphics::TColor Value);
void __fastcall SetColorMirrorDisabled(const Graphics::TColor Value);
void __fastcall SetColorMirrorDisabledTo(const Graphics::TColor Value);
void __fastcall SetColorMirrorHot(const Graphics::TColor Value);
void __fastcall SetColorMirrorHotTo(const Graphics::TColor Value);
void __fastcall SetColorMirrorSelected(const Graphics::TColor Value);
void __fastcall SetColorMirrorSelectedTo(const Graphics::TColor Value);
void __fastcall SetColorMirrorTo(const Graphics::TColor Value);
void __fastcall SetColorSelected(const Graphics::TColor Value);
void __fastcall SetColorSelectedTo(const Graphics::TColor Value);
void __fastcall SetColorTo(const Graphics::TColor Value);
void __fastcall SetGradient(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientDisabled(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientHot(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientMirror(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientMirrorDisabled(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientMirrorHot(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientMirrorSelected(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetGradientSelected(const Advglowbutton::TGDIPGradient Value);
void __fastcall SetTextColor(const Graphics::TColor Value);
void __fastcall SetTextColorDisabled(const Graphics::TColor Value);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?