[fpc-pascal] can inherited simply replace inherited method(param1, param2, param3)?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Jan 11 20:47:43 CET 2018

On 2018-01-11 16:35, Dennis wrote:
> are the 2 below equivalent?

Yes they are. Lazarus IDE auto implements the later, and Delphi IDE the 
first. What is again annoying about Delphi IDE is that it chooses to 
generate "inherited;" lines, but then can't allow you to code navigate 
(Ctrl+LeftClick). You have to manually fix the generated code like your 
second example before Delphi IDE can code navigate to the parent 

Yet another reason why Lazarus IDE is so much better than Delphi XE onwards.


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp

More information about the fpc-pascal mailing list