Page 1 of 1

put variables dialog inside of "step through ..."

Posted: 31 Mar 2012 06:04
by paul0
put the dialog of "variables on stack" inside of the dialog of "step through a script".

Current view is attached. The popup dialog of "variables on stack" stops user from clicking the "continue" button. it will be great to see value of variables in the same dialog of "step through a script".

Re: put variables dialog inside of "step through ..."

Posted: 31 Mar 2012 09:38
by PeterH
First the wrong answer: you should define strings in quotes, i.e.:

Code: Select all

   $lookup="Tags";
Then to the contents of the variables in the Stepping-Window: I think it's a problem with the needed space - you might have many variables with rather long values...

But if the "Variables on Stack" window would be modal you just could keep it open and watch the changing values while stepping. So I think this would be fine.

Re: put variables dialog inside of "step through ..."

Posted: 31 Mar 2012 14:54
by paul0
Thanks, PeterH.
PeterH wrote:First the wrong answer: you should define strings in quotes, i.e.:

Code: Select all

   $lookup="Tags";
You are right. I am helping test the tagCounter, http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=7741
PeterH wrote: Then to the contents of the variables in the Stepping-Window: I think it's a problem with the needed space - you might have many variables with rather long values...
can be solved using scrolling bar.
PeterH wrote: But if the "Variables on Stack" window would be modal you just could keep it open and watch the changing values while stepping. So I think this would be fine.
"Variables on Stack" window is active, and then "step through..." window is not active until you close the "Variables on Stack" window.

Again, thank you for your comment. :biggrin: :appl:

Re: put variables dialog inside of "step through ..."

Posted: 01 Apr 2012 10:24
by PeterH
paul0 wrote:
PeterH wrote: But if the "Variables on Stack" window would be modal you just could keep it open and watch the changing values while stepping. So I think this would be fine.
"Variables on Stack" window is active, and then "step through..." window is not active until you close the "Variables on Stack" window.
Sorry, it seems I've written too fast - and now that's the opposite of what I meant :whistle:
The word should be non-modal, of course - makes no sense as written :oops:

Meant was a window that dynamically shows the values of variables, that you can leave open when running the script, and watch the variables change.

(But I don't know how easy or difficult it is to program this in VB...)

Re: put variables dialog inside of "step through ..."

Posted: 01 Apr 2012 12:57
by Twisten
+1 if this isn't too hard.