TClrBaseComponent.RegisterEventCallBack(ClrWString,Pointer) Method

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer.

Namespace: CNClrLib.Control.Base
protected
 procedure RegisterEventCallBack(AEventName: ClrWString; AFunctionPointer: System.Pointer); virtual;

Parameters

AEventName
Type: ClrWString

AFunctionPointer
Type: System.Pointer