Click or drag to resize

BasicNoUIObjErrorAlert Event

Occurs when an error has occurred. (Evaluation errors do not trigger this event.)

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public event EventHandler<EventArgs> ErrorAlert

Value

EventHandlerEventArgs

Implements

IBasicNoUIErrorAlert
Remarks
The event handler receives an argument of type EventArgs.

The error may be a syntax error, or a run-time error.

You can use the Error property to determine the nature of the error.

Only applications that handle errors directly should hide them from users.

Example
Show a message when there's a syntax or run-time error:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
    MessageBox.Show("A syntax or run-time error has occurred.");
}
See Also