BasicNoUIObjPause Property |
Gets or sets whether the execution is paused.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic bool Pause { get; set; }
Public Property Pause As Boolean
Get
Set
public:
virtual property bool Pause {
bool get () sealed;
void set (bool value) sealed;
}
Property Value
Boolean
The execution paused state.
Implements
IBasicNoUIPause
Remarks2025-01-24: This property has no effect at this time.
Assigning True to the Pause property causes an executing macro/module to stop.
Assigning False causes a stopped macro/module to resume execution.
Setting
|
Description
|
---|
True
|
Execution is paused.
|
False
|
Execution is not paused.
|
Example
Pause and resume buttons:
private void pauseButton_Click(object sender, System.EventArgs e)
{
basicIdeCtl1.Pause = true;
}
private void resumeButton_Click(object sender, System.EventArgs e)
{
basicIdeCtl1.Pause = false;
}
Private Sub PauseButton_Click ( ByVal sender As Object, ByVal e As System.EventArgs ) Handles PauseButton.Click
' pause execution
BasicIdeCtl1.Pause = True
End Sub
Private Sub ResumeButton_Click ( ByVal sender As Object, ByVal e As System.EventArgs ) Handles ResumeButton.Click
' resume execution
BasicIdeCtl1.Pause = False
End Sub
private: System::Void pauseButton_Click(System::Object ^ sender, System::EventArgs ^ e)
{
basicIdeCtl1->Pause = true;
}
private: System::Void resumeButton_Click(System::Object ^ sender, System::EventArgs ^ e)
{
basicIdeCtl1->Pause = false;
}
See Also