Quoting Luke Pascoe <[EMAIL PROTECTED]>:
> I want to override the constructor of a form to include an extra parameter
> but I get "Declaration ... differs from previous declaration"
>
> eg:
>
> public
> constructor Create(AOwner: TComponent; RootFolder: String); override;
>
> ...
>
> constructor TCreateList.Create(AOwner: TComponent; RootFolder: String);
> begin
> inherited Create(AOwner);
>
> ...
>
> How do I do this?
The constructor you are overriding has a different number of parameters. You
should overload it instead.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz