<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic jsl close window does not close window in jmp14 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108462#M39464</link>
    <description>&lt;P&gt;I recently updated to jmp 14.1 (my work will only allowed tested updates so still waiting on 14.2). I have a script where I create a legend window, journal it, and then close it. This used to work fine in jmp 13 but now it does not close the window. Am I doing something wrong or is this a bug? Ignore the coloring portions, I have some things set up for consistent coloring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myWin = Outline Box( "Legend",
		H List Box(
			myPlot = dt0 &amp;lt;&amp;lt; Color or Mark By Column(
				Eval( myColor ),
				Color Theme( "POR Black" ),
				Marker Theme( "standard" ),
				Continuous Scale( 0 ),
				Make Window With Legend( 1 )
		)
	)
);
myWin &amp;lt;&amp;lt; Journal;
myWin &amp;lt;&amp;lt; Close Window();&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 31 Jan 2019 17:06:44 GMT</pubDate>
    <dc:creator>hlazar</dc:creator>
    <dc:date>2019-01-31T17:06:44Z</dc:date>
    <item>
      <title>jsl close window does not close window in jmp14</title>
      <link>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108462#M39464</link>
      <description>&lt;P&gt;I recently updated to jmp 14.1 (my work will only allowed tested updates so still waiting on 14.2). I have a script where I create a legend window, journal it, and then close it. This used to work fine in jmp 13 but now it does not close the window. Am I doing something wrong or is this a bug? Ignore the coloring portions, I have some things set up for consistent coloring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myWin = Outline Box( "Legend",
		H List Box(
			myPlot = dt0 &amp;lt;&amp;lt; Color or Mark By Column(
				Eval( myColor ),
				Color Theme( "POR Black" ),
				Marker Theme( "standard" ),
				Continuous Scale( 0 ),
				Make Window With Legend( 1 )
		)
	)
);
myWin &amp;lt;&amp;lt; Journal;
myWin &amp;lt;&amp;lt; Close Window();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Jan 2019 17:06:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108462#M39464</guid>
      <dc:creator>hlazar</dc:creator>
      <dc:date>2019-01-31T17:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: jsl close window does not close window in jmp14</title>
      <link>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108464#M39466</link>
      <description>&lt;P&gt;It appears to be a change.....and you may want to report it as a bug.....but here is a work around&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt0=open("$SAMPLE_DATA/big class.jmp");
myColor="sex";


myWin = Outline Box( "Legend",
		H List Box(
			myPlot = dt0 &amp;lt;&amp;lt; Color or Mark By Column(
				Eval( myColor ),
				Color Theme( "POR Black" ),
				Marker Theme( "standard" ),
				Continuous Scale( 0 ),
				Make Window With Legend( 1 )
		)
	)
);
myWin &amp;lt;&amp;lt; Journal;
window("Legend") &amp;lt;&amp;lt; Close Window();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Jan 2019 17:30:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108464#M39466</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-31T17:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: jsl close window does not close window in jmp14</title>
      <link>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108466#M39468</link>
      <description>Thank you, this does indeed work.</description>
      <pubDate>Thu, 31 Jan 2019 17:38:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108466#M39468</guid>
      <dc:creator>hlazar</dc:creator>
      <dc:date>2019-01-31T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: jsl close window does not close window in jmp14</title>
      <link>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108615#M39503</link>
      <description>&lt;P&gt;I don't believe there is a change in JMP14. The option &lt;STRONG&gt;Make Window with Legend(1)&lt;/STRONG&gt; is creating a window, but it is not myWin, it is an independent window called Legend.&amp;nbsp; Below is a modification of Jim's script to demonstrate this subtle issue.&amp;nbsp; Change the OutlineBox name to My Legend. The New Window () command s not needed, it is for demonstration. Bottom line is Make Window with Legend() creates an independent window, and it is unneccesary.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt0=open("$SAMPLE_DATA/big class.jmp");
myColor="sex";

myWin=0;

myWin = Outline Box( " My Legend",
		H List Box(
			myPlot = dt0 &amp;lt;&amp;lt; Color or Mark By Column(
				Eval( myColor ),
				Color Theme( "POR Black" ),
				Marker Theme( "standard" ),
				Continuous Scale( 0 ),
				//Make Window With Legend( 1 )
		)
	)
);
myWin &amp;lt;&amp;lt; Journal;
wait(0);



new window("show it", myWin);
wait(2);

myWin &amp;lt;&amp;lt; close window();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 14:23:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/jsl-close-window-does-not-close-window-in-jmp14/m-p/108615#M39503</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-02-01T14:23:35Z</dc:date>
    </item>
  </channel>
</rss>

