TPrintableConsoleHandler

TPrintableConsoleHandler is an enhancment of the TCustomConsoleHandler class which is able to react on basic error codes and data formats.

Available functionality (users) Available functionality (developers)


SetDelimiter

procedure SetDelimiter(ADelimiter: String);

Sets the delimiter which will be put right after the current state in the console output after the command execution. Example: current state is "nowhere", delimiter is "$> "; output after execution will then be "nowhere$> ".


FPre_Execute

procedure Pre_Execute(AnInput: String);

Is empty in this class. See TCustomConsoleHandler.FPre_Execute for further information.


FPost_Execute

function FPost_Execute(AnOutput: THandlerResult): Boolean;

Reacts on HR_REQUIRES_EXIT, HR_NO_HANDLER_FOUND and HR_REQUIRES_STATUS_CHANGE and prints the current state (and the delimiter) out onto the console. See TCustomConsoleHandler.FPost_Execute for further information.