DesignEditors.TPropertyEditor.GetStrValue

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 GetStrValue: string;

C++

System::UnicodeString __fastcall GetStrValue();

Description

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

Call GetStrValue to obtain the current value of the property for the first object in the internal list of objects being edited. Only call GetStrValue if the property is a string type.

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

See Also