<?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: Center text in a report in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330040#M57931</link>
    <description>&lt;P&gt;thanks but it doesn't work here is my code again, i added the excel, hopefully you can show me what's wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "C:\Users\test.xls", "invisible" );
ob = Outline Box( "test", vl = V List Box() );
myPlatform = New Window( "test",
modal,
myDispObj = dt &amp;lt;&amp;lt; getAsReport,
myDispObj[StringColBox( 1 )]&amp;lt;&amp;lt; setJustify( "center" );
myDispObj[Table Box( 1 )] &amp;lt;&amp;lt; Set Scrollable( 0, 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itzikd_0-1604585384276.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28097i71076178F1D3B84D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itzikd_0-1604585384276.png" alt="itzikd_0-1604585384276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 14:09:50 GMT</pubDate>
    <dc:creator>itzikd</dc:creator>
    <dc:date>2020-11-05T14:09:50Z</dc:date>
    <item>
      <title>Center text in a report</title>
      <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/329949#M57919</link>
      <description>&lt;P&gt;I'm trying to center a report a created so the text is all centered instead of RTL for number and LTR for text&lt;/P&gt;&lt;P&gt;here is my code, dt is just a data table I tried using "Horizontal Alignment( "center" )" but it didn't work&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:21:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/329949#M57919</guid>
      <dc:creator>itzikd</dc:creator>
      <dc:date>2023-06-10T23:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Center text in a report</title>
      <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/329950#M57920</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myPlatform = New Window( "Record Wafers",
modal,
myDispObj = dt &amp;lt;&amp;lt; getAsReport,
myDispObj[Table Box( 1 )] &amp;lt;&amp;lt; Set Scrollable( 0, 0 ) &amp;lt;&amp;lt; Horizontal Alignment( "center" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Nov 2020 12:12:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/329950#M57920</guid>
      <dc:creator>itzikd</dc:creator>
      <dc:date>2020-11-05T12:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Center text in a report</title>
      <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/329995#M57926</link>
      <description>&lt;P&gt;Assuming the text you mention is in a 'StringColBox()':&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv = dt &amp;lt;&amp;lt; Bivariate( Y( :weight ), X( :height ), Fit Line );
repBiv = Report(biv);

Wait(3);
repBiv[StringColBox(1)] &amp;lt;&amp;lt; setJustify( "center" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Nov 2020 11:58:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/329995#M57926</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2020-11-05T11:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Center text in a report</title>
      <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330040#M57931</link>
      <description>&lt;P&gt;thanks but it doesn't work here is my code again, i added the excel, hopefully you can show me what's wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "C:\Users\test.xls", "invisible" );
ob = Outline Box( "test", vl = V List Box() );
myPlatform = New Window( "test",
modal,
myDispObj = dt &amp;lt;&amp;lt; getAsReport,
myDispObj[StringColBox( 1 )]&amp;lt;&amp;lt; setJustify( "center" );
myDispObj[Table Box( 1 )] &amp;lt;&amp;lt; Set Scrollable( 0, 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itzikd_0-1604585384276.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28097i71076178F1D3B84D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itzikd_0-1604585384276.png" alt="itzikd_0-1604585384276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 14:09:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330040#M57931</guid>
      <dc:creator>itzikd</dc:creator>
      <dc:date>2020-11-05T14:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Center text in a report</title>
      <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330046#M57934</link>
      <description>&lt;P&gt;Using JMP 15.2 (on a Mac), with your code above I get (after stretching the column);&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-05 at 14.42.49.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28098i6B32510C378FF3E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-11-05 at 14.42.49.png" alt="Screenshot 2020-11-05 at 14.42.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I remove the 'setJustify()', I see:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-05 at 14.42.05.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28099i4359DB4D00543B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-11-05 at 14.42.05.png" alt="Screenshot 2020-11-05 at 14.42.05.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 14:47:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330046#M57934</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2020-11-05T14:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Center text in a report</title>
      <link>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330914#M57999</link>
      <description>I'm using jmp 12 ... but even in jmp 15 the "test2" and "test3" are still not in the middle, you can see "test2" is not center, but aligned to the right.&lt;BR /&gt;is there a way to center all the columns?</description>
      <pubDate>Sun, 08 Nov 2020 10:03:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Center-text-in-a-report/m-p/330914#M57999</guid>
      <dc:creator>itzikd</dc:creator>
      <dc:date>2020-11-08T10:03:09Z</dc:date>
    </item>
  </channel>
</rss>

