Adds an notification handler.
Source position: controls.pp line 1477
protected procedure TControl.AddHandler( |
HandlerType: TControlHandlerType; |
const AMethod: TMethod; |
AsFirst: Boolean = False |
); |
HandlerType |
|
Type of the event. |
AMethod |
|
The handler to be added. |
AsFirst |
|
Unused. |
Notification handlers allow to notify other components of certain events. When the registered event occurs, all installed (added) handlers are invoked.