L
lslyl
Unregistered / Unconfirmed
GUEST, unregistred user!
unit StatusBarEx;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, Buttons;
type
TStatusBarEx = class(TStatusBar)
private
public
constructor Create(AOwner: TComponent); override;
published
end;
TSpeedButtonEx = class(TSpeedButton)
private
FComment: String;
public
published
property Comment: String read FComment write FComment;
end;
procedure Register;
implementation
constructor TStatusBarEx.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
ControlStyle:= ControlStyle + [csAcceptsControls];
end;
procedure Register;
begin
RegisterComponents('win32', [TStatusBarEx, TSpeedButtonEx]);
end;
end.
怎么进行编译,怎么让他上面板呀.我用的是delphi 2005
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, Buttons;
type
TStatusBarEx = class(TStatusBar)
private
public
constructor Create(AOwner: TComponent); override;
published
end;
TSpeedButtonEx = class(TSpeedButton)
private
FComment: String;
public
published
property Comment: String read FComment write FComment;
end;
procedure Register;
implementation
constructor TStatusBarEx.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
ControlStyle:= ControlStyle + [csAcceptsControls];
end;
procedure Register;
begin
RegisterComponents('win32', [TStatusBarEx, TSpeedButtonEx]);
end;
end.
怎么进行编译,怎么让他上面板呀.我用的是delphi 2005