Get property value as a variant.
Source position: typinfo.pp line 1292
function GetPropValue( |
Instance: TObject; |
const PropName: string |
):Variant; |
Instance: TObject; |
const PropName: string; |
PreferStrings: Boolean |
):Variant; |
Instance: TObject; |
PropInfo: PPropInfo |
):Variant; |
Instance: TObject; |
PropInfo: PPropInfo; |
PreferStrings: Boolean |
):Variant; |
GetPropValue returns the value of a property of the object Instance as a Variant value. The property can be specified as a name using PropName, or using property RTTI info in PropInfo. If PreferStrings is True then a string value is returned where possible.
The Variants unit must be added to your project for this function to be able to do its work properly.
|
Return a list of published properties. |
|
|
Return property type information, by property name. |
|
|
Set property value as variant. |