M
MAGXJ500T
Unregistered / Unconfirmed
GUEST, unregistred user!
代码:
TObj1 = class(TComponent)
public
constructor Create(AOwner: TComponent;
const Parm: Integer);
destructor Destroy;
override;
end;
constructor TObj1.Create(AOwner: TComponent;
const Parm: Integer);
begin
inherited Create(AOwner);
...
end;
编译的时候出现
Method 'Create' hides virtual method of base type 'TComponent'警告信息
请问该如何去掉这个警告?
TObj1 = class(TComponent)
public
constructor Create(AOwner: TComponent;
const Parm: Integer);
destructor Destroy;
override;
end;
constructor TObj1.Create(AOwner: TComponent;
const Parm: Integer);
begin
inherited Create(AOwner);
...
end;
编译的时候出现
Method 'Create' hides virtual method of base type 'TComponent'警告信息
请问该如何去掉这个警告?