Sign in Join
FPDoc Onlineexperiment

TGetPropValue procedure type

In unit TypInfo

Callback type for the OnGetPropValue callback event

Declaration

pascal
TGetPropValue = function(Instance: TObject; PropInfo: PPropInfo; 
 PreferStrings: Boolean): Variant

Description

The callback function must return the property with name PropName of instance Instance. If PreferStrings is true, it should favour converting the property to a string value. The function needs to return the variant with the property value.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.