Since anonymous methods appeared in Delphi I wanted to use them in VCL components events. Obviously for backward compatibility the VCL wasn\'t updated, so I managed to make a si
You could make TNotifyEventDispatcher to be a subclass of TInterfacedObject so you do not need to care about freeing it.
TNotifyEventDispatcher
TInterfacedObject
But to be more pragmatic one would use traditional event assignment that takes less lines of code and is supported by the IDE.