Skip to content

TReader.OnReadStringProperty

Handler for translating strings when read from the stream.

Declaration

Source position: classesh.inc line 2104

public property OnReadStringProperty: TReadWriteStringPropertyEvent;

Description

OnReadStringProperty is called whenever a string property is read from the stream. It can be used e.g. by a translation mechanism to translate the strings on the fly, when a form is loaded. See TReadWriteStringPropertyEvent for a description of the various parameters.

See also

Name Description
TReader.OnPropertyNotFound Handler for treating missing properties.
TReader.OnSetMethodProperty Handler for setting method properties.
TReadWriteStringPropertyEvent Callback for the TReader.OnReadStringProperty event handler.