RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComObjectFactory.ShowErrors Property

Indicates whether the COM object factory displays a message box when exceptions are raised.

Pascal
property ShowErrors: Boolean;
C++
__property Boolean ShowErrors;

When ShowErrors is true, exceptions that are raised when trying to create a COM object are caught and a message box appears to describe the error. When ShowErrors is false, the exception is not caught by the COM object factory. 

 

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