GetPropValue function
Get property value as a variant.
Declaration
function GetPropValue(Instance: TObject; const PropName: string)
: VariantDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
