<?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: How do I remove Horizontal Scroll Bars from a report window. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40114#M23484</link>
    <description>&lt;P&gt;One way to ensure that no scroll bars are used is to turn off the scrolling for the TableBox all together. See example below for details.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );

rpt = dt &amp;lt;&amp;lt; get as report();
rpt[Table Box( 1 )] &amp;lt;&amp;lt; Set scrollable( 0 );

New Window( "Test", rpt );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;EDIT: &amp;nbsp;Please note that this also turns off the vertical scroll bar.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2017 16:45:23 GMT</pubDate>
    <dc:creator>Justin_Chilton</dc:creator>
    <dc:date>2017-06-08T16:45:23Z</dc:date>
    <item>
      <title>How do I remove Horizontal Scroll Bars from a report window.</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40110#M23480</link>
      <description>&lt;P&gt;I am making a report from a wide(ish) data table using the command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dispObj = DT &amp;lt;&amp;lt; get as report;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This generates a borderBox Display Object which I then add to a new window using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;newWindow("Test", dispObj);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem is the report table has a horizontal scroll bar added which I do not want. How do I remove this scroll bar and allow the report display object to fill the window fully in the horizontal direction? If the Window is widened it does not make a difference to the underlyng report...i.e. it does not widen or remove the scroll bars&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="reportWindow.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6384i404FB8809AAF93FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="reportWindow.jpg" alt="reportWindow.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:34:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40110#M23480</guid>
      <dc:creator>thickey1</dc:creator>
      <dc:date>2017-06-08T13:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Horizontal Scroll Bars from a report window.</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40112#M23482</link>
      <description>&lt;P&gt;My experience with this, is that if you change the window size for the data table, before you move the table into the report.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=current data table();
dt&amp;lt;&amp;lt;set window size(2400,800);
dispObj = DT &amp;lt;&amp;lt; get as report;
newWindow("Test", dispObj);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:53:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40112#M23482</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-08T13:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Horizontal Scroll Bars from a report window.</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40114#M23484</link>
      <description>&lt;P&gt;One way to ensure that no scroll bars are used is to turn off the scrolling for the TableBox all together. See example below for details.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );

rpt = dt &amp;lt;&amp;lt; get as report();
rpt[Table Box( 1 )] &amp;lt;&amp;lt; Set scrollable( 0 );

New Window( "Test", rpt );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;EDIT: &amp;nbsp;Please note that this also turns off the vertical scroll bar.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 16:45:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40114#M23484</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2017-06-08T16:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Horizontal Scroll Bars from a report window.</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40118#M23488</link>
      <description>&lt;P&gt;I line up the report with a wide spacer box:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = current data table();
dispObj = dt &amp;lt;&amp;lt; get as report;
new window("test",
	LineupBox(NCol(1),
		Spacer Box(Size(1200,0)),
		dispObj	
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2017 16:05:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40118#M23488</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2017-06-08T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Horizontal Scroll Bars from a report window.</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40170#M23512</link>
      <description>&lt;P&gt;Jim, I like this solution and didn't realise the report generated is dependant on the table (window) size. Do you know of a way to identify the width of the contents of a data table window - i.e. the width of the combined columns - not the width of the DT Window which I could get with &amp;nbsp;&lt;EM&gt;DT&amp;lt;&amp;lt; getWindowSize() . &lt;/EM&gt;This would allow me to dynamically set the window size to the width of the columns in my data table (up to a max width dependent on my GUI) before allowing the scroll bar to be used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 13:30:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-remove-Horizontal-Scroll-Bars-from-a-report-window/m-p/40170#M23512</guid>
      <dc:creator>thickey1</dc:creator>
      <dc:date>2017-06-09T13:30:17Z</dc:date>
    </item>
  </channel>
</rss>

