I am able to select the current window and show a tree structure, but I am unable to access the frame boxes within it. An example is below. Any ideas?
// Example.
Names Default To Here( 1 );
// Run this entire JSL block at once, from here...
bigClass = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = bigClass << Bivariate( Y( :weight ), X( :height ) );
Wait( 2 );
win = Current Window();
// ...to here.
// Add text to biv.
biv << Show Tree Structure;
rbiv = biv << Report;
sel = rbiv[FrameBox( 1 )];
sel << Select; // User will select one or many frame boxes.
sel << Add Graphics Script( "Back", Text( Center Justified, {55, 160}, "Hi!" ) ); // Add script.
sel << Deselect;
// Try to select win.
win << Show Tree Structure; // This works.
rwin = win << Report;
selwin = rwin[FrameBox( 1 )];
selwin << Select; // This does not work. Why not?
selwin << Deselect;