They are private. From what I know, you can't touch private methods in
decendants.

Maybe declare them are protected!?!??!

N
--
Nic Wise - 021.676.418 / [EMAIL PROTECTED]
Is it not a foolish man, said little Woo, who keeps all his chickens in his
trousers?
For at best, will he not suffocate his chickens, and, and worst, will he not
disappoint the ladies in the village?  --Alexi Sayle



----- Original Message -----
From: "Mark Derricutt" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Friday, February 18, 2000 5:00 PM
Subject: [DUG]: ADO and Class strangeness...


> Heya....  I'm trying to make a subclass for TADOConnection to add some
> automated functionality I want and have come accross something confusing:
>
> I have defined:
>
>   TRegADOConnection = class(TADOConnection)
>   private
>     procedure SetConnectionString(const Value: WideString); override;
>     function GetConnectionString: WideString; override;
>
> but this comes back with errors saying Set/GetConnectionString not found
> in baseclass... but, over in ADODB.pas we have:
>
> function TADOConnection.GetConnectionString: WideString;
> begin
>   Result := ConnectionObject.ConnectionString;
> end;
>
> procedure TADOConnection.SetConnectionString(const Value: WideString);
> begin
>   if ConnectionString <> Value then
>   begin
>     CheckInactive;
>     ConnectionObject.ConnectionString := Value;
>   end;
> end;
>
> So....  they're not in the class are they???
>
> --
> Mark Derricutt   "People in prayer for me, everyone there for me,
> ICQ: 1934853      sometimes I feel I should face this alone, my
> Wrk: 377-9941     soul exposed... it calm's me to know that I
> Fax: 377-9947     won't!" = Dream Theater - Scarred
> DDI: 375-3754
>
> Now Playing: Loudness - 11 - Junk His Head
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to