DesignEditors.TPropertyEditor.SetVarValue

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure SetVarValue(const Value: Variant);

C++

void __fastcall SetVarValue(const System::Variant &Value);

Description

Changes the property value for every object being edited.

Call SetVarValue to change the property setting for every object that can be returned by the GetComponent method. Do not call SetVarValue unless the property can be represented by a variant value. After changing a property value using SetVarValue, it is not necessary to call Modified.

See Also