DesignEditors.TPropertyEditor.GetMethodValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetMethodValue: TMethod;

C++

System::TMethod __fastcall GetMethodValue();

Properties

Type Visibility Source Unit Parent
function protected
DesignEditors.pas
DesignEditors.hpp
DesignEditors TPropertyEditor

Description

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

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.

See Also