[fpc-devel] TComponent.ChangeName() not virtual?

Vincent Snijders vsnijders at vodafonevast.nl
Wed Mar 24 15:06:01 CET 2010


Graeme Geldenhuys schreef:
> Unfortunately ChangeName is not virtual, yet it is in the 'protected'
> section of a class. If we are not supposed to override ChangeName, then why
> is it in 'protected' section and not 'private' section of the class definition?

Obviously, so that descendants can call it.

Vincent



More information about the fpc-devel mailing list