BasicNoUIObjDoEvents Event |
Occurs when a macro/module is executing.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic event EventHandler<EventArgs> DoEvents
Public Event DoEvents As EventHandler(Of EventArgs)
public:
virtual event EventHandler<EventArgs^>^ DoEvents {
void add (EventHandler<EventArgs^>^ value);
void remove (EventHandler<EventArgs^>^ value);
}
Value
EventHandlerEventArgsImplements
IBasicNoUIDoEvents
Remarks
The event handler receives an argument of type
EventArgs.
By merely calling DoEvents, you can allow
your own application to process messages and cooperatively multitask
while a macro/module is running.
Example
Standard DoEvents processing:
void basicIdeCtl1_DoEvents(object sender, System.EventArgs e)
{
WinWrap.Basic.Util.DoEvents();
}
Private Sub BasicIdeCtl1_DoEvents(ByVal sender As Object, ByVal e As System.EventArgs) Handles BasicIdeCtl.DoEvents
WinWrap.Basic.Util.DoEvents
End Sub
void basicIdeCtl1_DoEvents(System::Object ^ sender, System::EventArgs ^ e)
{
WinWrap::Basic::Util.DoEvents();
}
See Also