constructor Create(AOwner:TComponent); virtual; reintroduce;
----- Original Message ----- From: "David Brennan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "'NZ Borland Developers Group - Delphi List'" <[email protected]>
Sent: Friday, April 29, 2005 3:11 PM
Subject: RE: [DUG] Build error
The error message is quite correct. You are currently trying to redefine the
Create as a new virtual method.
You probably want:
constructor Create(AOwner:TComponent); override;
But if for some reason you really do want to redefine it then you want:
constructor Create(AOwner:TComponent); virtual; redeclare;
David.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair George
Sent: Friday, 29 April 2005 2:35 p.m.
To: DUG Users Group
Subject: [DUG] Build error
How do I solve build error please: 'method create hides virtual method of base type tcomponent'.
public constructor Create(AOwner:TComponent); virtual;
constructor TQfelPopUpHelp.Create(AOwner:TComponent); begin inherited Create(AOwner); CancelOnZero := True; UseTags := utGraphicControl; end;
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
