DesignIntf.IProperty.GetEditValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetEditValue(out Value: string): Boolean;

C++

virtual bool __fastcall GetEditValue(/* out */ System::UnicodeString &Value) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IProperty

Description

Retrieves a string to represent the property's value, or, if the value is not available, an error message.

The Object Inspector calls GetEditValue to obtain the string it displays as the property value.

GetValue formats the string displayed in the Object Inspector to represent the property value and returns it as the Value parameter. Unlike the GetValue method, GetEditValue does not raise an exception when the property value is unavailable. Instead, it assigns an error message to Value and returns false.

GetValue returns true if Value returns a string representation of the property value.

See Also