DesignIntf.IProperty.SetValue
Delphi
procedure SetValue(const Value: string);
C++
virtual void __fastcall SetValue(const System::UnicodeString Value) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IProperty |
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.