JVCL Help:TJvCreateProcess.OnRawRead
JVCL Help: TJvCreateProcess.OnRawRead Event
Search in JVCL Help
Search in all projectsSummary
Occurs when a console process created with TJvCreateProcess outputs some data.
Pascal
TJvCPSRawReadEvent = procedure (Sender: TObject; const S: string) ofobject;
propertyOnRawRead: TJvCPSRawReadEvent;
Parameters
Parameters | Description |
S | The data received from the console process. |
Sender | The object that triggered this event. |
Description
Write an OnRawRead event handler to respond when a console process outputs some data. The data isn't pre-processed; thus, it may contain back space (#8), tab (#9), line feed (#10) or carriage return (#13) chars.
It may be necessary to respond to OnRawRead events, when the console process updates the current line only and doesn't output a line feed char; for instance to indicate the progress of a process. In this case no OnRead event will be fired. Note coRedirect must be included in ConsoleOptions, otherwise no OnRawRead event will be fired.
See Also
TJvCreateProcess.ConsoleOptions, TJvCreateProcess.ConsoleOutput, TJvCreateProcess.OnRead
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page