DesignEditors.TPropertyEditor.GetMethodValueAt
Delphi
function GetMethodValueAt(Index: Integer): TMethod;
C++
System::TMethod __fastcall GetMethodValueAt(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TPropertyEditor |
Description
Returns the property value of the specified object.
Call GetMethodValueAt to obtain the current value of the property for an object in the internal list of objects being edited. Call GetMethodValueAt only if the property is a method, such as the DefWndProc property of TWinControl (Windows) or TWidgetControl (Linux), or an event handler. The Index parameter identifies which object's value should be returned. It corresponds to the Index parameter of the GetComponent method.
Use GetMethodValueAt to iterate over all current values, for example when implementing the AllEqual method.