Hi!
I have a script that loops through the cells of the data and does some data processing.
To give the user an idea of what cell it is currently processing, I add this line:
Caption("Processing "||Char(i)||" out of "||Char(Nrows(dtmed))||" Cells...");Anyway, if I close the caption, the script just proceeds to the next iteration. What I want is for the script to terminate if the user closes the caption box. Maybe there is some function that will give me the status of the caption box if it were closed?
Anyway, last resort is this thread:
https://community.jmp.com/t5/Discussions/Jsl-How-can-i-stop-a-script-with-a-button/td-p/6787
Although, I am apprehensive of having two windows (one caption box and one window box) just to have an escape button.
Thanks for the help.