<?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 Create Tabs without scrolling horizontally in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40428#M23688</link>
    <description>&lt;P&gt;Hi, all&lt;BR /&gt;May I know is there any function that can make if I have 25 tabs in one user interface, then for example every 5 tabs, it will automatic go down another row(meant here 1-5 in first row, then 6-10 in second row and etc), which can prevent the user to scroll horizontally to the right.&lt;/P&gt;&lt;P&gt;I have search the scripting index for the tab list box, but I can't find any suitable the function.&lt;BR /&gt;Can anyone give me some hints?&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;For example script below:&lt;/P&gt;&lt;PRE&gt;nTabs = 25;

VariabilityWindow = New Window("Variability Chart",tb = Tab Box() );

For( i = 1, i &amp;lt;= nTabs, i++,
   
	tb &amp;lt;&amp;lt; Insert(
        i,
		"variability chart" || Char( i ),
		V List box(
			Button Box( "Variability Chart #" || Char( i ) ),
	    )
    )
); 

   		&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="photo01.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6458iEDC7F6787DC0A8FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="photo01.png" alt="photo01.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2017 08:22:16 GMT</pubDate>
    <dc:creator>blue1994</dc:creator>
    <dc:date>2017-06-15T08:22:16Z</dc:date>
    <item>
      <title>Create Tabs without scrolling horizontally</title>
      <link>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40428#M23688</link>
      <description>&lt;P&gt;Hi, all&lt;BR /&gt;May I know is there any function that can make if I have 25 tabs in one user interface, then for example every 5 tabs, it will automatic go down another row(meant here 1-5 in first row, then 6-10 in second row and etc), which can prevent the user to scroll horizontally to the right.&lt;/P&gt;&lt;P&gt;I have search the scripting index for the tab list box, but I can't find any suitable the function.&lt;BR /&gt;Can anyone give me some hints?&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;For example script below:&lt;/P&gt;&lt;PRE&gt;nTabs = 25;

VariabilityWindow = New Window("Variability Chart",tb = Tab Box() );

For( i = 1, i &amp;lt;= nTabs, i++,
   
	tb &amp;lt;&amp;lt; Insert(
        i,
		"variability chart" || Char( i ),
		V List box(
			Button Box( "Variability Chart #" || Char( i ) ),
	    )
    )
); 

   		&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="photo01.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6458iEDC7F6787DC0A8FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="photo01.png" alt="photo01.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:22:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40428#M23688</guid>
      <dc:creator>blue1994</dc:creator>
      <dc:date>2017-06-15T08:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Tabs without scrolling horizontally</title>
      <link>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40440#M23696</link>
      <description>&lt;P&gt;There isn't an automatic way to do that, however, you could construct your application to add additional rows, breaking on every 5 tabs.&lt;/P&gt;
&lt;P&gt;Here is a hardwired illustration of setting up the rows.&amp;nbsp; Your program would just have to programatically build the structure&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	Tab Box(
		Tab Page Box(
			"Row One",
			Tab Box(
				Tab Page Box( "Alpha", Popup Box( {"x", ex = 1, "y", ex = 2} ) ),
				Tab Page Box( "Beta", Popup Box( {"x", ex = 1, "y", ex = 2} ) ),
				Tab Page Box( "Gamma", Popup Box( {"x", ex = 1, "y", ex = 2} ) )
			)
		),
		Tab Page Box(
			"Row Two",
			Tab Box(
				Tab Page Box( "Alpha2", Popup Box( {"x", ex = 1, "y", ex = 2} ) ),
				Tab Page Box( "Beta2", Popup Box( {"x", ex = 1, "y", ex = 2} ) ),
				Tab Page Box( "Gamma2", Popup Box( {"x", ex = 1, "y", ex = 2} ) )
			)
		),
		Tab Page Box(
			"Row Three",
			Tab Box(
				Tab Page Box( "Alpha3", Popup Box( {"x", ex = 1, "y", ex = 2} ) ),
				Tab Page Box( "Beta3", Popup Box( {"x", ex = 1, "y", ex = 2} ) ),
				Tab Page Box( "Gamma3", Popup Box( {"x", ex = 1, "y", ex = 2} ) )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:59:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40440#M23696</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-15T08:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Tabs without scrolling horizontally</title>
      <link>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40448#M23700</link>
      <description>&lt;P&gt;JMP does not support tiered tabs. There are a couple of other solutions that might help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) You can se tthe overflow flag. This sets the window size to the size of its contents, and the tabs that don't fit are placed into a drop-down menu on the right, like browsers do.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nTabs = 25;

VariabilityWindow = New Window("Variability Chart",tb = Tab Box( &amp;lt;&amp;lt; Set Overflow Enabled(1) ) );

For( i = 1, i &amp;lt;= nTabs, i++,
   
	tb &amp;lt;&amp;lt; Insert(
        i,
		"variability chart" || Char( i ),
		V List box(
			Button Box( "Variability Chart #" || Char( i ) ),
	    )
    )
); &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(2) You can set the tab style to use a combo box (drop down menu) instead of horizontal tabs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nTabs = 25;

VariabilityWindow = New Window("Variability Chart",tb = Tab Box( &amp;lt;&amp;lt; Set Style( "combo" ) ) );

For( i = 1, i &amp;lt;= nTabs, i++,
   
	tb &amp;lt;&amp;lt; Insert(
        i,
		"variability chart" || Char( i ),
		V List box(
			Button Box( "Variability Chart #" || Char( i ) ),
	    )
    )
); &amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 13:27:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40448#M23700</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-06-15T13:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Tabs without scrolling horizontally</title>
      <link>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40474#M23711</link>
      <description>&lt;P&gt;Maybe think about changing your interface a bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a similar situation where initially the number of tabs was small (5-10). &amp;nbsp;Then I encountered situations where there were going to be 35 tabs! &amp;nbsp;I changed the interface completely to the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put a listbox on the left side with the names of the tabs in it, now called "topics". &amp;nbsp;Since it is a listbox there was no problem handling 35 topic names. &amp;nbsp;When the user clicks on a topic the display to the right gets updated with information/displays for that topic. &amp;nbsp;Incidentally there was so much information to display for a given topic that I split that into separate tabs, but there were a constant number of them (6). &amp;nbsp;Here's a sample:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TrendingToolSample.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6468iAD93501AE36F370C/image-size/large?v=v2&amp;amp;px=999" role="button" title="TrendingToolSample.png" alt="TrendingToolSample.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 15:40:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-Tabs-without-scrolling-horizontally/m-p/40474#M23711</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-06-15T15:40:28Z</dc:date>
    </item>
  </channel>
</rss>

