[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'typinfo' (#rtl) |
Set the value of an object-type property.
Source position: line 0
procedure SetObjectProp( |
Instance: TObject; |
const PropName: String; |
Value: TObject |
); |
Instance: TObject; |
PropInfo: PPropInfo; |
Value: TObject |
); |
SetObjectProp assigns Value to the 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 method 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 |
No notes exist for this page yet.