[Overview][Constants][Types][Classes][Procedures and functions] |
Set value of set-typed property.
Source position: line 0
procedure SetSetProp( |
Instance: TObject; |
const PropName: String; |
const Value: String |
); |
Instance: TObject; |
const PropInfo: PPropInfo; |
const Value: String |
); |
SetSetPropsets the property specified by PropInfoor PropNamefor object Instanceto Value. Valueis 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 StringToSetfunction.
The value can be formed using the SetToStringfunction.
For an example, see GetSetProp.
No checking is done whether Instanceis non-nil, or whether PropInfodescribes a valid ordinal property of Instance. No range checking is performed. Specifying an invalid property name in PropNamewill result in an EPropertyErrorexception.
|
Return the value of a set property. |
|
|
Set value of an ordinal property |
|
|
Set value of a string property |
|
|
Set value of a float property. |
|
|
Set value of a Int64 property |
|
|
Set the value of a method property |
|
|
Convert set to a string description |
|
|
Convert string description to a set. |