RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IBEvents.TErrorEvent Type

TErrorEvent is the type of event handlers that respond to exceptions that occur when monitoring InterBase events.

Pascal
TErrorEvent = procedure ( Sender: TObject; ErrorCode:integer) of object;
C++
( Sender: TObject; ErrorCode:integer) ( TErrorEvent)();

Sender is the TIBEvents component that encounters the exception. 

If the exception is an EIBError object, ErrorCode is the InterBase error code it represents. Otherwise, ErrorCode is 0. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!