Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

TPJUnicodeTextReadEvent method type

Project: I/O Utility Classes

Unit: PJPipeFilters

Applies to: ~>1.0

  TPJUnicodeTextReadEvent = procedure(Sender: TObject;
    const Text: UnicodeString) of object;


This is an event handler type. It is the type of text read events triggered by pipe filter classes that read Unicode strings from pipes.

The parameters are:


This event handler type is used for the OnText and OnLineEnd events of TPJUnicodeBMPPipeFilter.

Note that the UnicodeString type must be defined to use event handlers of this type. On Delphi 2009 UnicodeString is a native type while the PJPipeFilters unit defines UnicodeString as WideString on Delphi 2007 and earlier.

See Also