Is there a way to fix the size of an OutlineBox?Hi All,
I have a script that pulls a data table and brings it into a window using the command dt<

Instead, I'd like to resize it automatically, to something more like this:

I found a thread here that is very similar to what I'm looking for, but not quite. I've tried sending commands like <
Any ideas/suggestions are much appreciated.
Thanks!,
DS
Automation and ScriptingData Exploration and VisualizationWindowsRe: Is there a way to fix the size of an OutlineBox?I think you want to fix the size of table box, not outlinebox
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Probe.jmp");
bb = dt << get as report;
// we need to modify the table box, not borderbox
(bb << child) << Set Scrollable(20, 5); // rows, columns
dt = New Window("test",
Outline Box("Table",
bb
);
);

Re: Is there a way to fix the size of an OutlineBox?Hi @jthi ,
Thanks for the quick response and solution. Yes, it was actually the table box I wanted to fix the size of, but nothing I had tried worked, so I thought maybe it was the OutlineBox. Anyway, great solution, thank you!
DS
Re: Is there a way to fix the size of an OutlineBox?One thing you might want to change is to change the reference to table box from
(bb << child)
to something like
bb[Table Box(1)]
as it might be more robust option (when building something like this, usually it is a good idea to almost always explore either properties or XML)