[fpc-devel] TComponent.ChangeName() not virtual?
webpirat at mail.ru
Wed Mar 24 15:27:56 CET 2010
24.03.2010 21:24, Graeme Geldenhuys wrote:
> The TComponent.SetName is virtual, so that solves my problem, but I still
> don't see why ChangeName is even there? Why have two methods to do one
> task? What purpose does ChangeName() have? Why couldn't SetName() set the
> internal field variable FName?
SetName obviosly more than just set FName. And how to protect FName and
at the same time give a way to change it without hooking the events?
More information about the fpc-devel