Putting reintroduce here simply tells the compiler that you are going to
call the original Create so don't bother complaining about it.

Wether you actually call the original Create is up to you, but it
probably won't work if you don't.

Stacey

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan
> Sent: Monday, 13 September 2004 11:57
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Virtual Method overriding
> 
> 
> Reintroduce?
> 
> Neven MacEwan (B.E. E&E)
> Ph. 09 621 0001 Mob. 0274 749062
> 
> 
> 
> Paul McKenzie wrote:
> 
> > I have created a descendant of TPanel (I could use 
> TCustomPanel - but
> > same problem occurs) and have Created a new Create constructor 
> > (different parameters). The compiler always gives a Warning about 
> > "Method xyz hides virtual method of the base type..." I 
> know it does - 
> > desired functionality!
> >  
> > How do I correct this to stop the warning from being 
> displayed. I dont
> > want to provide a dummy override of the constructor and 
> this code will 
> > be worked on for some time to come...
> > I would like to deliberately stop the warning from displaying.
> >  
> > Regards
> > Paul McKenzie
> > SMSS Ltd.
> > Wellington
> > New Zealand
> >
> >-------------------------------------------------------------
> ----------
> >-
> >
> >_______________________________________________
> >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

Reply via email to