<?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 Re: Button to open specific outline in a journal in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543918#M76283</link>
    <description>&lt;P&gt;Not sure if you can move display element, but you could maybe remove and then re-add it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
New Window("WrapListBox",
	vlb = V List Box(
		ob1 = Outline Box("1"),
		ob2 = Outline Box("2"),
		ob3 = Outline Box("3"),
	);
);

wait(1);
ob_to_move = Remove From(vlb, Contains(vlb &amp;lt;&amp;lt; XPath("//OutlineBox"), ob3));
wait(1);
Insert Into(vlb, ob_to_move, 1);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 13 Sep 2022 08:22:05 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-09-13T08:22:05Z</dc:date>
    <item>
      <title>Button to open specific outline in a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543893#M76279</link>
      <description>&lt;P&gt;Is there a way to add button in a journal that opens a specific outline within the journal ? (e.g. similar to in-document referencing in word documents)&lt;/P&gt;&lt;P&gt;I've seen journals used &amp;lt;&amp;lt;open next outline, but I believe this&amp;nbsp; won't be able to open outline box if it's not positioned right next to the containing outline box.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:52:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543893#M76279</guid>
      <dc:creator>Djtjhin</dc:creator>
      <dc:date>2023-06-10T20:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Button to open specific outline in a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543905#M76280</link>
      <description>&lt;P&gt;Maybe you can use something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Journal()[OutlineBox("Outline3")] &amp;lt;&amp;lt; Close(0)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1663054356904.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45410i9B4CC4FECFBF9CB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1663054356904.png" alt="jthi_0-1663054356904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 07:32:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543905#M76280</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-09-13T07:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Button to open specific outline in a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543913#M76282</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;&amp;nbsp;Yeah, I was using xml and was able to get it to work :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I wonder if there's a way to bring the opened outline to the top of the page. Any ideas on this ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 08:07:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543913#M76282</guid>
      <dc:creator>Djtjhin</dc:creator>
      <dc:date>2022-09-13T08:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Button to open specific outline in a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543918#M76283</link>
      <description>&lt;P&gt;Not sure if you can move display element, but you could maybe remove and then re-add it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
New Window("WrapListBox",
	vlb = V List Box(
		ob1 = Outline Box("1"),
		ob2 = Outline Box("2"),
		ob3 = Outline Box("3"),
	);
);

wait(1);
ob_to_move = Remove From(vlb, Contains(vlb &amp;lt;&amp;lt; XPath("//OutlineBox"), ob3));
wait(1);
Insert Into(vlb, ob_to_move, 1);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Sep 2022 08:22:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543918#M76283</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-09-13T08:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Button to open specific outline in a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543922#M76284</link>
      <description>&lt;P&gt;Another way of handling this, is to completely hide the outline box of interest, rather than closing it;&amp;nbsp; The button box can then redisplay the outline box, rather than opening it.&amp;nbsp; This is all done using the Visibility element available to the Outline Box() object.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1663057966494.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45411i2CB9224463D14E3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1663057966494.png" alt="txnelson_0-1663057966494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "/C:/Program Files/SAS/JMPEA/17/Samples/Data/Big Class.jmp" );

ow = Oneway(
	Y( :height ),
	X( :age ),
	Means( 1 ),
	Box Plots( 1 ),
	Mean Diamonds( 1 )
);
nw = New Window( "My Display",
	&amp;lt;&amp;lt;journal,
	bb = Button Box( "Display Anova",
		nw["Oneway Anova"] &amp;lt;&amp;lt; visibility( switch );
		If( switch == "visible",
			switch = "collapse";
			bb &amp;lt;&amp;lt; set button name( "Hide Anova" );
		,
			switch = "visible";
			bb &amp;lt;&amp;lt; set button name( "Display Anova" );
		)
	
		;
	)
);
Report( ow ) &amp;lt;&amp;lt; journal;
ow &amp;lt;&amp;lt; close window;
switch = "visible";
nw["Oneway Anova"] &amp;lt;&amp;lt; visibility( "collapse" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Sep 2022 08:33:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Button-to-open-specific-outline-in-a-journal/m-p/543922#M76284</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-09-13T08:33:37Z</dc:date>
    </item>
  </channel>
</rss>

