This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Another case of lost text, I see. I'll try to remember what I put.
I like to use private tables to avoid table names popping in and out of the Window List or to keep people from meddling with certain data tables. When troubleshooting a table I normally have private, I wanted to set it to private again. I found <<Set Private in the scripting index, but it didn't work. Even running the example didn't work.
I'd like to have simple messages to set data tables' visibility. At a minimum, fix the <<Set Private message. Ideally, I'd like to be able to use the <<Visibility display box message for data tables with a new "private" option.
Set Private does work -- it just doesn't get rid of the window or get rid of the entry from the HomeWindow's Table list, but it does make the table private and prevent it from appearing in the standard method of getting currently open data tables.
You could pair the Set Private command with a Show Window command, something like this?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Show( Get Data Table List() );
Wait( 1 );
dt << Show Window( 0 ) << Set Private; // make table private and not visible
Show( Get Data Table List() );
It appears as invisible in the Home Window list -- but it is private and double-clicking on it will bring it into view but it will still be private.
I just saw your comment, @ErraticAttack. I see I was mistaken, somewhat. <<Set Private just adds a "private" flag to keep a table from appearing in the table list, it seems? I'd like to be able to keep it out of the window list, as well. I am sure that would take a lot more work on the back end than I realize, but a man can dream.
@mmarchandTSI , I think you are right and I have the same issue... the scripting index says <<set private will make it not visible as well as hidden from the data table list.
and it's weird that the private you get when create a private table would be different that what you get from << set private
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.