title: Delphi VCL for Win32 - multiple event handlers
body: <p>I'm looking for some code allowing easy asigning many event handlers to a single event of object... I needed it very much for my plugin architecture, so I implemented some replacement for that, however I don't like my solution for that, so I'd like to know what is yours idea/solution/tip ... My solution is just a list with items like 
  <code>eventName: string;
  proc: TMyEventProc;</code>
  where TMyEventProc takes two arguments, sender and eventData: pointer.
  depending on name of the event, eventData points to different record / object.</p>
  
  <p>Unfortunately this requires declaration of many, many records for being passed as argument.
  The method is also very slow, and requires to implement calling the required "callbacks" while the "real" event gets hit.</p>