📄 xpctrlstyle.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 + -