DesignIntf.IProperty.SetValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IProperty

Delphi

procedure SetValue(const Value: string);

C++

virtual void __fastcall SetValue(const System::UnicodeString Value) = 0 ;

Description

Responds when the user changes the value of the property.

The Object Inspector calls SetValue when the user has finished changing the property value. SetValue applies the value specified by the Value parameter to all components that it is currently editing. If the value can't be set, SetValue raises an exception that describes the problem.

Note: If the property is changed only through a dialog brought up by the Edit method, the Object Inspector does not call SetValue. Rather, the Edit method should handle the setting of the value on all components.

See Also