System.NoErrMsg
Delphi
NoErrMsg: Boolean platform = False; { True causes the base RTL to not display the message box
C++
extern DELPHI_PACKAGE bool NoErrMsg;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | System.pas System.hpp |
System | System |
Description
Controls whether the application displays an error message when a run-time error occurs.
Note: On Windows, set NoErrMsg to control whether a message appears to indicate that a run-time error has occurred. When NoErrMsg is False (the default), run-time errors cause the application to display a message box indicating the type of error that occurred. When NoErrMsg is True, these messages are suppressed.
Note: The SysUtils unit turns most run-time errors into exceptions. If your application includes SysUtils, the run-time error message box is unlikely to appear, even if NoErrMsg is False.