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.

OnText event

Project: I/O Utility Classes

Unit: PJPipeFilters

Class: TPJAnsiSBCSPipeFilter

Applies to: ~>1.0

property OnText: TPJAnsiTextReadEvent;

Description

This event is triggered whenever ANSI text is read from the associated pipe. The event occurs once for every call to the ReadPipe method. Once the data read from the pipe is converted to ANSI text it is not processed further before passing the text to the event handler.

The event handler is passed the following parameters:

Remarks

In the event that ReadPipe reads an empty pipe the text passed to an OnText event handler will be the empty string.

The event is never triggered by the Flush method.

See Also