Way to move a window into a "child" poistion on the home window?Hey everyone,
I was wondering if there was a way to script in moving a "New Window" as a "child" of the data table, like a normal analysis widow shows up as:
I'd like this window to show up under the data table it is working with

So under the graph builder icon.

Thoughts?
Steve
Automation and ScriptingRe: Way to move a window into a "child" poistion on the home window?I know at least of one workaround for this as I have used in other case. You can add report to your new window and then collapse it
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
);
nw = New Window("not child",
Button Box("OK")
);
nw = New Window("is child",
vlb = V List Box(
Distribution(Nominal Distribution(Column(:sex)), Histograms Only)
),
Button Box("OK")
);
vlb << visibility("Collapse")

My topic where I asked how to force associated data for new window: What determines which data table is seen as "Associated Data" for New Window?
Wish list item: Allow setting associated data table(s) to a new window
Re: Way to move a window into a "child" poistion on the home window?And if you want to move an existing window into a child position, you can just add a temporary report and then delete it again.
After executing the code, the report will show up as a child of Big Class:

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
nw = New Window("change to child",
V List Box (
tmp= v list box (),
Button Box("OK"))
);
tmp << append (
Distribution(Nominal Distribution(Column(:sex)), Histograms Only)
);
wait(0);
tmp << delete;