SetObjectProp procedure
Set the value of an object-type property.
Declaration
procedure SetObjectProp(Instance: TObject; const PropName: string;
Value: TObject)Description
SetObjectProp assigns
Value to the object property described by
PropInfo or with name
Propname for the object
Instance.
For an example, see GetObjectProp.
Errors
No checking is done whether
Instance is non-nil, or whether
PropInfo describes a valid object property of
Instance.
Specifying an invalid property name in
PropName will result in an
EPropertyError exception.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
