cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
shampton82
Level VII

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

shampton82_1-1720638349511.png

 

So under the graph builder icon.

shampton82_0-1720638330859.png

 

Thoughts?

 

Steve

2 ACCEPTED SOLUTIONS

Accepted Solutions
jthi
Super User

Re: 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")

jthi_0-1720638811251.png

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 

-Jarmo

View solution in original post

hogi
Level XIII

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:

 

hogi_0-1720643796484.png

 

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;

 

View solution in original post

2 REPLIES 2
jthi
Super User

Re: 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")

jthi_0-1720638811251.png

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 

-Jarmo
hogi
Level XIII

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:

 

hogi_0-1720643796484.png

 

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;

 

Recommended Articles