DesignIntf.IDesigner60.GetMethods

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetMethods(TypeData: PTypeData; Proc: TGetStrProc); overload;

C++

virtual void __fastcall GetMethods(System::Typinfo::PTypeData TypeData, System::Classes::TGetStrProc Proc) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesigner60

Description

Executes a callback for every method of a specified type.

Use GetMethods to call the procedure specified by the Proc parameter for every event handler that matches the TypeData parameter. For each event handler, Proc is called with its S parameter set to the name of the method. This parameter can be used to bring up a code editor for the method by calling the ShowMethod method.

See Also