MakeMethod
Constructs a TMethod record to assign procedures or functions to object event handlers.
function MakeMethod(DataSelf: Pointer; Code: Pointer): TMethod;
Unit
Description
MakeMethod is a TMethod function used to construct a TMethod record, and can be used to assign a non-class procedure or function as an event handler.