DesignIntf.IDesigner80.CreateMethod

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateMethod(const Name: string; const AEventInfo: IEventInfo): TMethod; overload;

C++

HIDESBASE virtual System::TMethod __fastcall CreateMethod(const System::UnicodeString Name, const _di_IEventInfo AEventInfo) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesigner80

Description

Creates an event handler for an event.

It returns a TMethod--with the Name name--that is an event handler for the event described by AEventInfo.

See Also