<?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: For Loop inside a tab box where each loop creates a different tab in the window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/173687#M40142</link>
    <description>&lt;P&gt;Building on Jim's example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

// Make two lists that will define the two-level hierarchical tab structure
nFirst = 4;
nSecondMax = 5;
tabListFirst = {};			// A List
tabListSecond = {};			// A list of lists
for(i=1, i&amp;lt;=nFirst, i++,
	InsertInto(tabListFirst, "Tab "|| Char(i));
	secondList = {};
	for(ii=1, ii&amp;lt;=randomInteger(1, nSecondMax), ii++,
		InsertInto(secondList, "Tab "|| Char(ii))
		);
	InsertInto(tabListSecond, evalList(List(secondList)));
	);


// Use these lists to build the UI
tb = Tab Box();
For( i = 1, i &amp;lt;= N Items( tabListFirst ), i++,
	tb2 = TabBox();
	for(ii = 1, ii &amp;lt;= NItems(tabListSecond[i]), ii++,
		tb2 &amp;lt;&amp;lt; add(
				tabListSecond[i][ii] || " Tab",
				Button Box( "Press " || tabListSecond[i][ii] )
				);
		);
	tb &amp;lt;&amp;lt; Add(tabListFirst[i] || " Tab", tb2);
	);
New Window( "Example", tb );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Feb 2019 10:42:44 GMT</pubDate>
    <dc:creator>ian_jmp</dc:creator>
    <dc:date>2019-02-26T10:42:44Z</dc:date>
    <item>
      <title>For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/83805#M37676</link>
      <description>&lt;P&gt;I'm attempting to loop through a variable list of tools (ChamberTool or Cham) to create a list.&amp;nbsp; Then using that list I create a contour of the data by date where each chamber is a separate tab on a tab box window.&amp;nbsp; I've done each of these things independently but my particular issue is creating a tab for each tool from this variable list.&amp;nbsp; Maybe my approach is way off but here is my script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, here are the two bits of script I have that work.&amp;nbsp; I hand wave over the scripting of the parts that I already know how to do and to keep this post more brief and not detract from my main problem statement.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ContourG = dt &amp;lt;&amp;lt; Contour stuff here;

Graph = new window("Contours", tab box(
		"Tab Name Here", (vlistbox(ContourG)),
));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But when i try to run a for loop i am completely broken.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Cham = Associative Array(Column(dt_stacked, "Chamber") &amp;lt;&amp;lt; Get Values) &amp;lt;&amp;lt; Get Keys;Associative Array(Column(dt_stacked, "Chamber")&amp;lt;&amp;lt; Get Values)&amp;lt;&amp;lt;Get Keys;

Graph = new window("Contours", tab box(
	For (x=1, x&amp;lt;=nitems(Cham), x++,
		ChamberTool= Cham[x];
		G_Contour = Cham[x];
		ContourG = dt_stacked &amp;lt;&amp;lt; Contour Plot(
			X( :XLoc, :YLoc ),	Y( :Thickness ),
			Where( :Chamber == ChamberTool ),	By(:Date),
			Chart Parameter stuff here,	SendToReport( other stuff here)	),
		ChamberTool, (vlistbox(ContourG)),
)));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Nov 2018 19:35:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/83805#M37676</guid>
      <dc:creator>MuttonChops</dc:creator>
      <dc:date>2018-11-19T19:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/83822#M37683</link>
      <description>&lt;P&gt;The syntax you are using to create the new tabs is not correct;&amp;nbsp; Below is the example taken directly from the Scripting Index, on how to add a new tab.&amp;nbsp; Infact, the example shows 2 ways to do that.&amp;nbsp; Your code only generates one tab.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	tb = Tab Box(
		Tab Page Box(
			"First Tab",
			Tip( "First Tab Tooltip" ),
			Button Box( "Press One" )
		),
		Tab Page Box(
			"Second Tab",
			Closeable( 1 ),
			Button Box( "Press Two" )
		),
		Tab Page Box(
			"Third Tab",
			Icon( "Nominal" ),
			Button Box( "Press Three" )
		)
	)
);
Wait( 1 );
tb &amp;lt;&amp;lt; Add(
	"Fourth Tab",
	Button Box( "Press Four" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Nov 2018 22:24:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/83822#M37683</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-19T22:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/84585#M37863</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;, my code was my attempt to create a loop, based on a variable list, to have each discrete item in the list be its own tab.&amp;nbsp; The example you gave looks like a way to hard code a specific number of tabs but in my case the number of tabs would change.&amp;nbsp; For example, if my dataset one day has 5 distinct entities in my list then my code should generate 5 tabs, one for each entity.&amp;nbsp; But the next day my dataset might be 8 entities.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And an unrelated question, any ide how i can update my email address on my account?&amp;nbsp; I realized that my account is tied to an address that I no longer have access to and I can't for the life of me figure out how to update it.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 20:07:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/84585#M37863</guid>
      <dc:creator>MuttonChops</dc:creator>
      <dc:date>2018-11-27T20:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/84596#M37864</link>
      <description>&lt;P&gt;My previous post was not completly hard wired.&amp;nbsp; It showed both a hard coded method, and a method that would allow you to decide to add tabs whenever you needed to.&amp;nbsp; But to make it more direct, here is a reworked script that uses a JSL list to determine the tabs that need to be added&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

tabList = {"First", "Second", "Third", "Fourth"};
New Window( "Example", tb = Tab Box() );

For( i = 1, i &amp;lt;= N Items( tabList ), i++,
	tb &amp;lt;&amp;lt; Add(
		tabList[i] || " Tab",
		Button Box( "Press " || tabList[i] )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Nov 2018 20:16:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/84596#M37864</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-27T20:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/171881#M40134</link>
      <description>&lt;P&gt;Is that possible dynamically create a 2nd layer of Tab Boxes, my data has multi-layers of data, thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-jsl"&gt;&lt;CODE class="  language-jsl"&gt;&lt;SPAN class="token function"&gt;Names Default To Here&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;1&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;

tabList &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"First"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Second"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Third"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Fourth"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;New Window&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Example"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; tb &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Tab Box&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;For&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; i &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; i &lt;SPAN class="token operator"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;N Items&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; tabList &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; i&lt;SPAN class="token operator"&gt;++&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
	tb &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="token messages"&gt; Add&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;
		tabList&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;i&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;||&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;" Tab"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;                      //another layer of tabs goes here&lt;BR /&gt;                      
		&lt;SPAN class="token function"&gt;Button Box&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Press "&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;||&lt;/SPAN&gt; tabList&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;i&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
	&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 21:32:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/171881#M40134</guid>
      <dc:creator>jietan25</dc:creator>
      <dc:date>2019-02-25T21:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/173687#M40142</link>
      <description>&lt;P&gt;Building on Jim's example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

// Make two lists that will define the two-level hierarchical tab structure
nFirst = 4;
nSecondMax = 5;
tabListFirst = {};			// A List
tabListSecond = {};			// A list of lists
for(i=1, i&amp;lt;=nFirst, i++,
	InsertInto(tabListFirst, "Tab "|| Char(i));
	secondList = {};
	for(ii=1, ii&amp;lt;=randomInteger(1, nSecondMax), ii++,
		InsertInto(secondList, "Tab "|| Char(ii))
		);
	InsertInto(tabListSecond, evalList(List(secondList)));
	);


// Use these lists to build the UI
tb = Tab Box();
For( i = 1, i &amp;lt;= N Items( tabListFirst ), i++,
	tb2 = TabBox();
	for(ii = 1, ii &amp;lt;= NItems(tabListSecond[i]), ii++,
		tb2 &amp;lt;&amp;lt; add(
				tabListSecond[i][ii] || " Tab",
				Button Box( "Press " || tabListSecond[i][ii] )
				);
		);
	tb &amp;lt;&amp;lt; Add(tabListFirst[i] || " Tab", tb2);
	);
New Window( "Example", tb );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Feb 2019 10:42:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/173687#M40142</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2019-02-26T10:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/174618#M40152</link>
      <description>Thank you, that is exactly what i am looking for, my data has 4 level, and number of tab on the next level is based on tab value from previous level..</description>
      <pubDate>Tue, 26 Feb 2019 17:11:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/174618#M40152</guid>
      <dc:creator>jietan25</dc:creator>
      <dc:date>2019-02-26T17:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/174993#M40158</link>
      <description>&lt;P&gt;4 level tab box example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

// Make multiple lists that will define the multi-level hierarchical tab structure
nFirst = 5;
nSecondMax = 5;
nThirdMax = 5;
nForthMax = 5;

tabListFirst = {};			// first lists
tabListSecond = {};			// second lists
tabListThird = {}; 			// third lists
tabListForth = {}; 			// forth lists

For( i = 1, i &amp;lt;= nFirst, i++, //first level
	Insert Into( tabListFirst, " L1 Tab " || Char( i ) );
	secondList = {};
	For( ii = 1, ii &amp;lt;= nSecondMax, ii++, //second level
		Insert Into( secondList, "L2 Tab " || Char( ii ) );
		thirdList = {};
		For( iii = 1, iii &amp;lt;= nThirdMax, iii++,//third level
			Insert Into( thirdList, "L3 Tab " || Char( iii ) );			
			forthList = {};
			For( iiii = 1, iiii &amp;lt;= nForthMax, iiii++,//forth level
				Insert Into( forthList, "L4 Tab " || Char( iiii ) )
				);
			Insert Into( tabListForth, Eval List( List( forthList ) ) );				
		);
		Insert Into( tabListThird, Eval List( List( ThirdList ) ) );
	);
	Insert Into( tabListSecond, Eval List( List( secondList ) ) );
);
/*
Show( tabListFirst );
Show( tabListSecond );
Show( tabListThird );
Show( tabListForth );
*/

// Use these lists to build the UI
tb = Tab Box(); //first level of Tab Box
For( i = 1, i &amp;lt;= N Items( tabListFirst ), i++,
	tb2 = Tab Box(); //second level of Tab Box
	For( ii = 1, ii &amp;lt;= N Items( tabListSecond[i] ), ii++,
		tb3 = Tab Box();  //third level of Tab Box
		For (iii = 1, iii &amp;lt;= NItems ( tabListThird[ii]), iii++,
			tb4 = Tab Box();
			For (iiii = 1, iiii &amp;lt;= NItems ( tabListForth[iii]), iiii++,
				tb4 &amp;lt;&amp;lt; Add( tabListForth[iii][iiii] || " Tab", 
				Text Box( tabListFirst[i] ||"-&amp;gt;"|| tabListSecond[ii][iii] ||"-&amp;gt;"|| tabListThird[ii][iii] ||"-&amp;gt;"|| tabListForth[iii][iiii]) )
				);
				tb3 &amp;lt;&amp;lt; Add(tabListThird[ii][iii] || " Tab", tb4);
			);
			tb2 &amp;lt;&amp;lt; Add ( tabListSecond[i][ii] || " Tab", tb3);
		);
		tb &amp;lt;&amp;lt; Add( tabListFirst[i] || " Tab", tb2 );
	);
New Window( "Example", tb );
	&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Feb 2019 20:17:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/174993#M40158</guid>
      <dc:creator>jietan25</dc:creator>
      <dc:date>2019-02-26T20:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/175169#M40169</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Text Box( tabListFirst[i] ||"-&amp;gt;"|| tabListSecond[ii][iii] ||"-&amp;gt;"|| tabListThird[ii][iii] ||"-&amp;gt;"|| tabListForth[iii][iiii]) )&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;--&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Text Box( tabListFirst[i] ||"-&amp;gt;"|| tabListSecond[i][ii] ||"-&amp;gt;"|| tabListThird[ii][iii] ||"-&amp;gt;"|| tabListForth[iii][iiii]) )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;minor update......&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 22:36:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/175169#M40169</guid>
      <dc:creator>jietan25</dc:creator>
      <dc:date>2019-02-26T22:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/177265#M40179</link>
      <description>&lt;P&gt;Of course there are lots of ways to design a UI. But with a four level hierarchy, I would consider using a local data filter with the 'conditional' option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Conditional (hierarchical) local data filter

Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

gb = dt &amp;lt;&amp;lt; Graph Builder(
					Size( 529, 563 ),
					Show Control Panel( 0 ),
					Show Legend( 0 ),
					Variables( X( :weight ), Y( :height ) ),
					Elements( Points( X, Y, Legend( 5 ) ) ),
					Local Data Filter(
						Conditional,
						Add Filter(
							columns( :sex, :age, :name ),
							Display( :sex, Size( 149, 28 ), List Display ),
							Display( :age, Size( 149, 84 ), List Display ),
							Display( :name, Size( 149, 210 ), List Display )
						)
					)
				);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Feb 2019 10:43:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/177265#M40179</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2019-02-27T10:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/183633#M40305</link>
      <description>&lt;P&gt;Thanks for the input. My report will generate about 8-10 charts per feature, chart type will be different by type of feature, there are 3-8 features per layer, and&amp;nbsp; up to 10 layers per product, products could be varies depends on days of data pull.&amp;nbsp; Is that possible to store all plots/charts in a list or array for easier access thru FOR LOOP?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 20:56:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/183633#M40305</guid>
      <dc:creator>jietan25</dc:creator>
      <dc:date>2019-03-04T20:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop inside a tab box where each loop creates a different tab in the window</title>
      <link>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/183646#M40309</link>
      <description>&lt;P&gt;Here is a script that generates prebuilt analyses in one window, and a second window dynamically genrates the displays in real time.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
// Create the default lists
namesList = {};
objList = {};
// Generate the output names
For( i = 1, i &amp;lt;= 10, i++,
	Insert Into( namesList, "Analysis " || Char( i ) )
);

//Pre run the reports
For( i = 1, i &amp;lt;= 10, i++,
	objList[i] = V List Box( Oneway( x( :Site ), y( Column( i + 4 ) ) ) )
);

// Create the display window for to display the prebuilt reports upon a user's reques
nw = New Window( "Output PreBuilt",
	theHLB = H List Box(
		lB = List Box(
			namesList,
			maxselected( 1 ),
			Try( myObj &amp;lt;&amp;lt; delete );
			theHLB &amp;lt;&amp;lt; append( myObj = objList[Contains( namesList, (lB &amp;lt;&amp;lt; get selected)[1] )] &amp;lt;&amp;lt; clone box );
		)
	)
);

// Create the display window for the displaying of the dynamically created reports
nw2 = New Window( "Output Dynamic Creation",
	theHLB2 = H List Box(
		lB2 = List Box(
			namesList,
			maxselected( 1 ),
			Try( myObj2 &amp;lt;&amp;lt; delete );
			theHLB2 &amp;lt;&amp;lt; append(
				myObj2 = V List Box(
					Oneway( x( :Site ), y( Column( Contains( namesList, (lB2 &amp;lt;&amp;lt; get selected)[1] )+4 ) ) )
				)
			);
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Mar 2019 22:49:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-Loop-inside-a-tab-box-where-each-loop-creates-a-different/m-p/183646#M40309</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-03-04T22:49:24Z</dc:date>
    </item>
  </channel>
</rss>

