Sign in Join
FPDoc Onlineexperiment

SetPropValue procedure

In unit TypInfo

Set property value as variant.

Declaration

pascal
procedure SetPropValue(Instance: TObject; const PropName: string; 
 const Value: Variant)

Description

GetPropValue sets the value of a property of the object Instance as a Variant value, specified in Value. The property can be specified as a name using PropName, or using property RTTI info in PropInfo.

The Variants unit must be added to your project for this function to be able to do its work properly.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.