//看来只能这样做了
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
private
FStr: String;
public
constructor Create(AOwner: TComponent; selfType: String); overload;
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
{ TForm1 }
constructor TForm1.Create(AOwner: TComponent; selfType: String);
begin
inherited Create(AOwner);
FStr := selfType;
end;
end.