DesignIntf.IDesigner60.GetMethods

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

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

C++

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

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