<?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: Add Outline Boxes to Window with variables in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/596754#M80038</link>
    <description>&lt;P&gt;You can check how your Graph Box looks like by opening Customize menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1675416052633.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49760iD2FD02A68DC83BD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1675416052633.png" alt="jthi_0-1675416052633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see that the value isn't there but rather variablename. You can for example use Eval(EvalExpr()) to avoid that issue&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

lineList = {10, 20, 30};
titleList = {"Title 1", "Title 2", "Title 3"};
w = New Window("My Test Window", myBox = Outline Box("My Test"));
For(i = 1, i &amp;lt;= 3, i++,
	Eval(EvalExpr(
		myBox &amp;lt;&amp;lt; Append(
			Outline Box(titleList[i], Graph Box(
				H Line(Expr(lineList[i]))
				)
			)
		)
	))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 09:21:32 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-02-03T09:21:32Z</dc:date>
    <item>
      <title>Add Outline Boxes to Window with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/596737#M80036</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I try to add several Outline Boxes to a window with parameters which are stored in lists. I use a For-Loop to append the boxes. For the title this works just fine. However, if I draw lines it does not work. Below is a minimal example which I would like to get to work.&lt;/P&gt;
&lt;P&gt;I'm thankful for any idea what I should change and what I'm doing wrong.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Anja&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;::lineList = {10, 20, 30};
::titleList = {"Title 1", "Title 2", "Title 3"};
w = New Window("My Test Window", myBox = Outline Box("My Test"));
For(i = 1, i &amp;lt;= 3, i++,
	myBox &amp;lt;&amp;lt; Append(Outline Box(titleList[i], Graph Box(H Line(lineList[i]))))

);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:38:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/596737#M80036</guid>
      <dc:creator>Anja_W</dc:creator>
      <dc:date>2023-06-08T16:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add Outline Boxes to Window with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/596754#M80038</link>
      <description>&lt;P&gt;You can check how your Graph Box looks like by opening Customize menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1675416052633.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49760iD2FD02A68DC83BD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1675416052633.png" alt="jthi_0-1675416052633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see that the value isn't there but rather variablename. You can for example use Eval(EvalExpr()) to avoid that issue&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

lineList = {10, 20, 30};
titleList = {"Title 1", "Title 2", "Title 3"};
w = New Window("My Test Window", myBox = Outline Box("My Test"));
For(i = 1, i &amp;lt;= 3, i++,
	Eval(EvalExpr(
		myBox &amp;lt;&amp;lt; Append(
			Outline Box(titleList[i], Graph Box(
				H Line(Expr(lineList[i]))
				)
			)
		)
	))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 09:21:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/596754#M80038</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-03T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add Outline Boxes to Window with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/597417#M80101</link>
      <description>&lt;P&gt;Thank you very much! Now it works just fine as I would like it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 09:33:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Outline-Boxes-to-Window-with-variables/m-p/597417#M80101</guid>
      <dc:creator>Anja_W</dc:creator>
      <dc:date>2023-02-06T09:33:21Z</dc:date>
    </item>
  </channel>
</rss>

