Sign in Join
FPDoc Onlineexperiment

SetStrProp procedure

In unit TypInfo

Set value of a string property.

Declaration

pascal
procedure SetStrProp(Instance: TObject; const PropName: string; 
 const Value: AnsiString)

Description

SetStrProp assigns Value to the string property described by PropInfo or with name Propname for object Instance.

For an example, see GetStrProp

Errors

No checking is done whether Instance is non-nil, or whether PropInfo describes a valid string 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.