I'm just curious on this one. I know two ways of defining events in Delphi, using the callback principle, and the windows messages principle.
However, the messages principle is not object-oriented, and the callbacks are only suited for one instance.
I would like a nice solution for having one event, where two different objects can perform an action after the event fires.
In Java, I could simply add another listener.
Does anyone know any equivalent approach in Delphi to this nice listener's principle?