Gets and sets the Display Error flag.
Read-write property
Visual Basic |
---|
Public Property DisplayError As Boolean |
A boolean value which is True to display error messages. Otherwise, False should be used.
The default value is False.
This property is only available at design time. When the DisplayError property is False, message boxes that describe errors are disabled. For containers such as Visual Basic and Delphi, error message boxes are displayed in Design mode but are not displayed at run time. Run time errors can be determined by querying the ImagError property.
-
Certain containers such as Active Server Pages, do not report the run time status to the control which causes the messages boxes to be displayed at run time.
-
For server based applications, displaying error boxes is undesirable. Set this property to False to resolve this problem.