<?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 automatically move the horizontal scroll bar of the graphics window to the far right? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531862#M75486</link>
    <description>&lt;P&gt;Your example, setting a data table into a Data Grid Box(), appears much closer to what a data table looks like.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

nw = New Window( "Example", ,x=data grid box() );
dtx = x &amp;lt;&amp;lt; set data table(dt);&lt;/CODE&gt;&amp;nbsp;&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="txnelson_0-1660042938591.png" style="width: 605px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44676iEBBECD20B3C201B4/image-dimensions/605x525?v=v2" width="605" height="525" role="button" title="txnelson_0-1660042938591.png" alt="txnelson_0-1660042938591.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, JMP has actually created a Data Browser Box.&amp;nbsp; Viewing the Tree Structure of display window shows the makeup of the Display Object.&amp;nbsp; The easiest way to access this, is to right click on any of the grey triangles in front of the Outline Boxes in the display and selecting&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Edit=&amp;gt;Show Tree Structure&lt;/P&gt;
&lt;P&gt;The issue with your example code, is that it does not contain any Outline Boxes.&amp;nbsp; Therefore, I just modified your code and added in a a simple Outline Box().&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

nw = New Window( "Example", ob=outlinebox("test",x=data grid box() ));
dtx = x &amp;lt;&amp;lt; set data table(dt);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1660044619576.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44677iC82ED5ABDB82F087/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1660044619576.png" alt="txnelson_1-1660044619576.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From the Display Tree output, one can see the Data Browser Box&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1660044844877.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44678iECF2CC24960E6A58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_2-1660044844877.png" alt="txnelson_2-1660044844877.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To see what messages are available to manipulate a Data Browser Box, one needs to go to the Scripting Index.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1660045010329.png" style="width: 771px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44679iE4B2C36ECF9CE48C/image-dimensions/771x322?v=v2" width="771" height="322" role="button" title="txnelson_3-1660045010329.png" alt="txnelson_3-1660045010329.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;While there are a few messages that are similar to what can be done with a Data Table, there are no messages that control the scrolling of the window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2022 11:39:56 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-08-09T11:39:56Z</dc:date>
    <item>
      <title>How do automatically move the horizontal scroll bar of the graphics window to the far right?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531741#M75479</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I used the following code to create a graphical window.How do I automatically move the horizontal scroll bar of the graphics window to the far right?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw = New Window( "", dt &amp;lt;&amp;lt; Get As Report );
Current Data Table( nw );
nw &amp;lt;&amp;lt; Select Columns( 4 );
nw &amp;lt;&amp;lt; Go To( 4 );
Wait( 0 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-08-08_10-58-46.png" style="width: 434px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44654i36E00472C9975F52/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-08-08_10-58-46.png" alt="2022-08-08_10-58-46.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:07:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531741#M75479</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do automatically move the horizontal scroll bar of the graphics window to the far right?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531771#M75480</link>
      <description>&lt;P&gt;The variable "nw"&amp;nbsp; when used as a reference to a New Window() function becomes a pointer to the DisplayBox for the window.&lt;/P&gt;
&lt;P&gt;When you then pass the message of &amp;lt;&amp;lt; get As Report to a data table, JMP takes to data table that "dt" is pointing to and creates a Table Box() object representative of the data table.&amp;nbsp; In the below example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

nw = New Window( "", dt &amp;lt;&amp;lt; Get As Report );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1660018756525.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44668iC793EB9A29A4175C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1660018756525.png" alt="txnelson_0-1660018756525.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This representation of the data table is no longer a data table.&amp;nbsp; It is a display object called a TableBox() object. Communication with a TableBox() is through a different set of messages and commands from what is used to control and manipulate a data table.&lt;/P&gt;
&lt;P&gt;Therefore,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Data Table( nw );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is not valid.&lt;/P&gt;
&lt;P&gt;See the Scripting Index for the messages available to the Table Box().&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 04:26:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531771#M75480</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-08-09T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do automatically move the horizontal scroll bar of the graphics window to the far right?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531779#M75481</link>
      <description>&lt;P&gt;Thank Jim!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I checked the index and still didn't understand.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-08-09_12-51-58.png" style="width: 449px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44669i2A75A9F323F644E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-08-09_12-51-58.png" alt="2022-08-09_12-51-58.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 04:54:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531779#M75481</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-08-09T04:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do automatically move the horizontal scroll bar of the graphics window to the far right?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531862#M75486</link>
      <description>&lt;P&gt;Your example, setting a data table into a Data Grid Box(), appears much closer to what a data table looks like.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

nw = New Window( "Example", ,x=data grid box() );
dtx = x &amp;lt;&amp;lt; set data table(dt);&lt;/CODE&gt;&amp;nbsp;&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="txnelson_0-1660042938591.png" style="width: 605px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44676iEBBECD20B3C201B4/image-dimensions/605x525?v=v2" width="605" height="525" role="button" title="txnelson_0-1660042938591.png" alt="txnelson_0-1660042938591.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, JMP has actually created a Data Browser Box.&amp;nbsp; Viewing the Tree Structure of display window shows the makeup of the Display Object.&amp;nbsp; The easiest way to access this, is to right click on any of the grey triangles in front of the Outline Boxes in the display and selecting&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Edit=&amp;gt;Show Tree Structure&lt;/P&gt;
&lt;P&gt;The issue with your example code, is that it does not contain any Outline Boxes.&amp;nbsp; Therefore, I just modified your code and added in a a simple Outline Box().&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

nw = New Window( "Example", ob=outlinebox("test",x=data grid box() ));
dtx = x &amp;lt;&amp;lt; set data table(dt);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1660044619576.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44677iC82ED5ABDB82F087/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1660044619576.png" alt="txnelson_1-1660044619576.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From the Display Tree output, one can see the Data Browser Box&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1660044844877.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44678iECF2CC24960E6A58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_2-1660044844877.png" alt="txnelson_2-1660044844877.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To see what messages are available to manipulate a Data Browser Box, one needs to go to the Scripting Index.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1660045010329.png" style="width: 771px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44679iE4B2C36ECF9CE48C/image-dimensions/771x322?v=v2" width="771" height="322" role="button" title="txnelson_3-1660045010329.png" alt="txnelson_3-1660045010329.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;While there are a few messages that are similar to what can be done with a Data Table, there are no messages that control the scrolling of the window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 11:39:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531862#M75486</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-08-09T11:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do automatically move the horizontal scroll bar of the graphics window to the far right?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531864#M75487</link>
      <description>&lt;P&gt;Thank Jim!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I neet&amp;nbsp;&lt;SPAN&gt;that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;control the scrolling of the window.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, after I saved it as an image, there was no need for this control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 11:47:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-automatically-move-the-horizontal-scroll-bar-of-the/m-p/531864#M75487</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-08-09T11:47:24Z</dc:date>
    </item>
  </channel>
</rss>

