I have a script that does lots of table operations like Stack, update, split , summary etc. Each operation displays a table once it is complete. I wanted to ask if there is a way to halt the screen updates at the beginning of the script and then turn them back on at the end of it.
Something like this..
//Open Data Table and set to invisible
dt = Open(file,invisible);
// Turn off screen update?
summaryABC = dt<< Summary(Group (:A,:B,:C); // This opens the table that I would like to hide
SummaryAB = summaryABC << Summary(Group (:A,:B);
// other misc table operations
//turn on screen update?
Thanks for your help.
Here is a generalized way of dealing with this. The Show Window() function can be used on almost every window, if no all windows, to have them displayed or not displayed.
names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
dt << show window(0);
wait(5);
dt << show window(1);
summaryABC = dt<< Summary(Invisible, Group (:A,:B,:C); // This hides the Summary ABC table
SummaryAB = summaryABC << Summary(Group (:A,:B);
// other misc table operations
//turn on screen update?
summaryABC << Bring Windows to Front; // This brings Summary ABC to the frontHave you considered using the "Invisible" switch in your Summary command (see above)? You can then bring back the window with "Bring Window to Front".
Note: I have not found the exact command line to turn on and off the hidden status of a window.
Best,
TS
Here is a generalized way of dealing with this. The Show Window() function can be used on almost every window, if no all windows, to have them displayed or not displayed.
names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
dt << show window(0);
wait(5);
dt << show window(1);
@txnelson Just like old times :) you set me straight and get me working! Thanks for taking the time. Nice to see you here..
There is no general "don't show data tables" statement.
However, almost every data table operation supports an invisible or private option to keep the data table from appearing.
@Jeff_Perkinson , Appreciate it. I will read through this :)
summaryABC = dt<< Summary(Invisible, Group (:A,:B,:C); // This hides the Summary ABC table
SummaryAB = summaryABC << Summary(Group (:A,:B);
// other misc table operations
//turn on screen update?
summaryABC << Bring Windows to Front; // This brings Summary ABC to the frontHave you considered using the "Invisible" switch in your Summary command (see above)? You can then bring back the window with "Bring Window to Front".
Note: I have not found the exact command line to turn on and off the hidden status of a window.
Best,
TS
@Thierry_S Thanks for taking the time. I appreciate it. I like the use of invisible and I decided to use a mix of both yours and Jim's solution.