RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.SuppressException Method

SuppressException suppresses OLE exceptions at design time.

Pascal
function SuppressException(E: Exception): Boolean; virtual;
C++
virtual __fastcall Boolean SuppressException(Exception E);

SuppressException is called whenever an exception is thrown by this TOleControl. The implementation provided in TOleControl suppresses all OLE exceptions thrown by the control at design time. To add custom logic to error suppressing, override SuppressException in descendant classes. 

 

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