Please could you explain purpose of TatEventDispatcher methods BeforeCall, AfterCall and OldCall. And an example please.

TIA and best regards


Those refer to a very old feature that is still working but I wouldn't recommend using it. Since its very first version scripter allowed to set an event handler but keeping the old handlers, so all handlers would be called in cascade. That could only be used with low level methods like SetEvent. 

In regular event handling, which should be used, those BeforeCall, AfterCall and OldCall are not used.

Thank you for all the help!