wwframestyle.pas

来自「胜天进销存源码,国产优秀的进销存」· PAS 代码 · 共 47 行

PAS
47
字号
unit wwframestyle;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;

type
  TwwFrameStyle = class(TComponent)
  private
    FFrame: TwwEditFrame;
    FButtonEffects: TwwButtonEffects;
  protected
    { Protected declarations }
  public
    property Frame: TwwEditFrame read FFrame write FFrame;
    property ButtonEffects: TwwButtonEffects read FButtonEffects write FButtonEffects;
    { Public declarations }
  published
    { Published declarations }
  end;

procedure Register;

implementation

procedure Register;
begin
  RegisterComponents('IP Controls', [TwwFrameStyle]);
end;

constructor TwwFrameStyle.Create(AOwner: TComponent);
begin
  inherited Create(AOwner);
  FFrame:= TwwEditFrame.create(self);
  FButtonEffects:= TwwComboButtonEffects.create(self, FButton);
end;

destructor TwwFrameStyle.Destroy;
begin
  FFrame.Free;
  FButtonEffects.Free;
  inherited Destroy;
end;

end.

⌨️ 快捷键说明

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