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

📄 xpctrlstyle.pas

📁 非常好的xp界面控件
💻 PAS
字号:
unit xpCtrlStyle;

interface

uses
  Classes, xpReg;



type
  //Rounded corner type
  TRoundedCorner = (rcTopLeft, rcTopRight, rcBottomLeft, rcBottomRight);
  TRoundedCorners = Set of TRoundedCorner;

  //Standart styles
  TxpWindowStyle = (xwsCustom, xwsXPBlue, xwsXPSilver, xwsXPOlive, xwsMSN, xwsICQ);

  TxpControlStyle = class (TPersistent)
  private
    FActive      : Boolean;
  protected
    procedure SetActive (AValue : Boolean); virtual;
  public
    constructor Create; 
  published
    property Active : Boolean read FActive write SetActive default true;
  end;

implementation

constructor TxpControlStyle.Create;
begin
  inherited;
  FActive := True;
end;

procedure TxpControlStyle.SetActive (AValue : Boolean);
begin
  if FActive <> AValue then
  begin
    FActive := AValue;
  end;
end;


end.
 

⌨️ 快捷键说明

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