[Overview][Constants][Types][Classes][Procedures and functions] |
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 |
); |
SetObjectPropassigns Valueto the the object property described by PropInfoor with name Propnamefor the object Instance.
For an example, see GetObjectProp.
No checking is done whether Instanceis non-nil, or whether PropInfodescribes a valid method property of Instance. Specifying an invalid property name in PropNamewill result in an EPropertyErrorexception.
|
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 |