- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Disabling screen updates
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
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 front
Have 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
@txnelson Just like old times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
@Jeff_Perkinson , Appreciate it. I will read through this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
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 front
Have 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
txnelson provided a much nicer solution.
Best,
TS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Disabling screen updates
@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.