WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: George Vagenas on June 30, 2014, 01:25:01 PM

Title: Problem with AskYesNo and debugging in Studio
Post by: George Vagenas on June 30, 2014, 01:25:01 PM
Anyone else experience this problem? 
I'm debugging a script which prompts for a choice using AskYesNo, first time around the dialog prompts me for a choice and I proceed with stepping through the script.  If I stop debugging and start it again the AskYesNo dialog is hidden by the Studio window and I have to alt-Tab to the prompt to continue with the script.  Not a big deal but the first time it happened I thought the script had errorred out and Studio wouldn't let me exit debug mode.  That's when I noticed the hidden AskYesNo dialog.
Nothing serious but I'm just curious if anyone else has experienced this issue.
Title: Re: Problem with AskYesNo and debugging in Studio
Post by: Deana on June 30, 2014, 01:51:01 PM
One of the issues with debugging is that the Window containing the code your stepping through must remain on top. So this can interfere with Window activations. This is expected behavior when debugging in WinBatch studio. When debugging in WinBatch Studio you should see an icon on the taskbar of the running script. Clicking on the icon can activate any Windows generated by the script.