Indy 9
MakeMethod
Unit: IdGlobal
Constructs a TMethod record to assign procedures or functions to object event handlers.
function MakeMethod(DataSelf: Pointer; Code: Pointer): TMethod;
Unit
IdGlobal
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.