RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TReaderError Type

TReaderError is a type of callback procedure called used internally by the TReader class ReadComponents method.

Pascal
TReaderError = procedure (Reader: TReader; const Message: string; var Handled: Boolean) of object;
C++
(Reader: TReader; const Message: string; var Handled: Boolean) ( TReaderError)();

Classes

TReaderError is a type of call back procedure that is called by the TReader class OnError event.  

Reader is a reference to the TReader instance that has encountered an error and invoked the callback procedure. 

Message is the error message. 

Handled is a set to false if you want the error to raise an exception. If you want processing to continue, set this value to true. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!