RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.NoErrMsg Variable

Controls whether the application displays an error message when a runtime error occurs.

Pascal
NoErrMsg: Boolean platform = False;
C++
Boolean platform NoErrMsg = False;

Note: On Windows, set NoErrMsg to control whether a message appears to indicate that a runtime error has occurred. When NoErrMsg is false (the default), runtime errors cause the application to display a message box indicating the type of error that occurred. When NoErrMsg is true, these messages are suppressed.
On Linux, NoErrMsg only no effect.
Note: The SysUtils unit turns most runtime errors into exceptions. If your application includes SysUtils, the runtime error message box is unlikely to appear, even if NoErrMsg is false.
 

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