Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.17 KB

TPJUnicodeTextReadEvent.md

File metadata and controls

34 lines (20 loc) · 1.17 KB

TPJUnicodeTextReadEvent method type

Project: I/O Utility Classes

Unit: PJPipeFilters

Applies to: ~>1.0

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

Description

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:

  • Sender - Reference to the pipe filter object that triggered the event.

  • Text - Unicode text for which the event was triggered.

Remarks

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