RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.SetVarValue Method

Changes the property value for every object being edited.

Pascal
procedure SetVarValue(const Value: Variant);
C++
__fastcall SetVarValue(const Variant Value);

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!