Set the value of an object-type property.
Source position: typinfo.pp line 1275
procedure SetObjectProp( |
Instance: TObject; |
const PropName: string; |
Value: TObject |
); |
Instance: TObject; |
PropInfo: PPropInfo; |
Value: TObject |
); |
SetObjectProp assigns Value to the object property described by PropInfo or with name Propname for the object Instance.
For an example, see GetObjectProp.
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.
|
Return value of an object-type 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. |