RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.GetMethods Method

Executes a callback for every method of a specified type.

Pascal
procedure GetMethods(TypeData: PTypeData; Proc: TGetStrProc); overload;
C++
__fastcall GetMethods(PTypeData TypeData, TGetStrProc Proc);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!