DesignEditors.TPropertyEditor.GetStrValueAt

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TPropertyEditor

Delphi

function GetStrValueAt(Index: Integer): string;

C++

System::UnicodeString __fastcall GetStrValueAt(int Index);

Description

Returns the property value of the specified object.

Call GetStrValueAt to obtain the current value of the property for an object in the internal list of objects being edited. Call GetStrValueAt 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 GetStrValueAt to iterate over all current values, for example when implementing the AllEqual method.

See Also