Vcl.OleCtrls.TOleControl.SuppressException

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SuppressException(E : Exception): Boolean; virtual;

C++

virtual bool __fastcall SuppressException(System::Sysutils::Exception* E);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

Description

SuppressException suppresses OLE exceptions at design time.

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.

See Also