RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.GetMethodValue Method

Returns the property value of the first object currently being edited.

Pascal
function GetMethodValue: TMethod;
C++
__fastcall TMethod GetMethodValue();

Call GetMethodValue to obtain the current value of the property for the first object in the internal list of objects being edited. Call GetMethodValue only if the property is a method, such as the DefWndProc property of TWinControl (Windows) or TWidgetControl (Linux), or an event handler. 

If more than one object is currently being edited, GetMethodValue returns the value for the object returned by GetComponent(0). To obtain the current property value for every object currently being edited, use the GetMethodValueAt method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!