(Gast)
n/a Beiträge
|
Re: Edit nach Create leeren
23. Feb 2005, 12:32
Delphi-Quellcode:
unit dddEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, StdCtrls, ComCtrls, Dialogs, Graphics;
type
TdddEdit = class(TRichEdit)
{...}
public
{ Public declarations }
constructor Create(AOwner: TComponent); override;
end;
procedure Register;
implementation
procedure Register;
begin
RegisterComponents(' Samples', [TdddEdit]);
end;
constructor TdddEdit.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
Width := 121;
Height := 21;
Lines.Clear;
end;
|
|
Zitat
|