[Implemented] Programmatically close the Debug window
Posted: Sun Nov 29, 2015 8:43 am
For showing debugging information during the run of my program, I'm using the Debug window.
When an error occurs, it is shown by a MessageRequester(). But I can't see the the MessageRequester(), because it is covered by the Debug window, which is rather big.
So instead of writing I want to write
so that the Debug window is closed, before the MessageRequester() is shown.
For this purpose I'm currently using this code by netmaestro (thank you!).
However, a built-in function named say CloseDebugWindow() would be cross-platform and nice to have.
When an error occurs, it is shown by a MessageRequester(). But I can't see the the MessageRequester(), because it is covered by the Debug window, which is rather big.
So instead of writing
Code: Select all
If error
MessageRequester("Error", "blah blah")
End
EndIf
Code: Select all
If error
CloseDebugWindow()
MessageRequester("Error", "blah blah")
End
EndIf
For this purpose I'm currently using this code by netmaestro (thank you!).
However, a built-in function named say CloseDebugWindow() would be cross-platform and nice to have.