RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.GetMethodName Method

Returns the name of a specified event handler.

Pascal
function GetMethodName(const Method: TMethod): string;
C++
__fastcall AnsiString GetMethodName(const TMethod Method);

Call GetMethodName to obtain the name of an event handler given a pointer to it. 

 

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