BasicNoUIObjPending Event |
Occurs when execution needs to pause or end.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic event EventHandler<EventArgs> Pending
Public Event Pending As EventHandler(Of EventArgs)
public:
virtual event EventHandler<EventArgs^>^ Pending {
void add (EventHandler<EventArgs^>^ value);
void remove (EventHandler<EventArgs^>^ value);
}
Value
EventHandlerEventArgsImplements
IBasicNoUIPending
Remarks
The event handler receives an argument of type
EventArgs.
When this event is triggered, the Pause property will be True, and
the Run property will be True.
Language extensions that require a long time to complete should be
terminated, so that the macro/module can pause or end.
Example
Show a message when execution is about to pause or end:
private void basicIdeCtl1_Pending(object sender, System.EventArgs e)
{
MessageBox.Show("Execution is about to pause or end.");
}
Private Sub BasicIdeCtl1_Pending(ByVal sender As Object, ByVal e As System.EventArgs) Handles BasicIdeCtl.Pending
MessageBox.Show("Execution is about to pause or end.")
End Sub
private: System::Void basicIdeCtl1_Pending(System::Object ^ sender, System::EventArgs ^ e)
{
MessageBox::Show(L"Execution is about to pause or end.");
}
See Also