DesignEditors.TPropertyEditor.GetOrdValueAt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetOrdValueAt(Index: Integer): NativeInt;

C++

System::NativeInt __fastcall GetOrdValueAt(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 GetOrdValueAt to obtain the current value of the property for an object in the internal list of objects being edited. Call GetOrdValueAt only if the property is an ordinal type. The Index parameter identifies which object's value should be returned. It corresponds to the Index parameter of the GetComponent method.

Use GetOrdValueAt to iterate over all current values, for example when implementing the AllEqual method.

See Also