Sign in Join
FPDoc Onlineexperiment

SetSetProp procedure

In unit TypInfo

Set value of set-typed property.

Declaration

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

Description

SetSetProp sets the property specified by PropInfo or PropName for object Instance to Value. Value is a string which contains a comma-separated list of values, each value being a string-representation of the enumerated value that should be included in the set. The value should be accepted by the StringToSet function.

The value can be formed using the SetToString function.

For an example, see GetSetProp.

Errors

No checking is done whether Instance is non-nil, or whether PropInfo describes a valid ordinal property of Instance. No range checking is performed. 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.