<?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: Update values in window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Update-values-in-window/m-p/42359#M24647</link>
    <description>&lt;P&gt;You need a reference to your Number Col Edit Box and you can use the Set Values() &lt;A href="http://www.jmp.com/support/help/13-1/Send_Messages_to_Display_Boxes.shtml" target="_self"&gt;message&lt;/A&gt; to change the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;list = [1, 2, 3];
New Window( "Test",
	Button Box( "Change Vals",
		list = [4, 5, 6];
		foo &amp;lt;&amp;lt; set values( list );
	),
	Table Box(
		String Col Box( "Col 1", {"One", "Two", "Three"} ),
		foo = Number Col Edit Box( "Col 2", list )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPScreenSnapz111.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6920i6075C34D0551C9D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMPScreenSnapz111.png" alt="JMPScreenSnapz111.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 17:02:30 GMT</pubDate>
    <dc:creator>Jeff_Perkinson</dc:creator>
    <dc:date>2017-07-21T17:02:30Z</dc:date>
    <item>
      <title>Update values in window</title>
      <link>https://community.jmp.com/t5/Discussions/Update-values-in-window/m-p/42352#M24645</link>
      <description>&lt;P&gt;Hi, the following code has a table box containg a number col edit box initialized to [1,2,3]. However, I would like for when the button named "Change Vals" is pressed, to update the values in the number col edit box to [4,5,6]. How can I go about doing this? Code show below..&lt;/P&gt;&lt;PRE&gt;Names Default To Here( 1 );

list = [1, 2, 3];
New Window( "Test",
	Button Box( "Change Vals", list = [4, 5, 6] ),
	Table Box( String Col Box( "Col 1", {"One", "Two", "Three"} ), Number Col Edit Box( "Col 2", list ) )
)&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:40:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-values-in-window/m-p/42352#M24645</guid>
      <dc:creator>matt7109</dc:creator>
      <dc:date>2017-07-21T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update values in window</title>
      <link>https://community.jmp.com/t5/Discussions/Update-values-in-window/m-p/42359#M24647</link>
      <description>&lt;P&gt;You need a reference to your Number Col Edit Box and you can use the Set Values() &lt;A href="http://www.jmp.com/support/help/13-1/Send_Messages_to_Display_Boxes.shtml" target="_self"&gt;message&lt;/A&gt; to change the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;list = [1, 2, 3];
New Window( "Test",
	Button Box( "Change Vals",
		list = [4, 5, 6];
		foo &amp;lt;&amp;lt; set values( list );
	),
	Table Box(
		String Col Box( "Col 1", {"One", "Two", "Three"} ),
		foo = Number Col Edit Box( "Col 2", list )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPScreenSnapz111.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6920i6075C34D0551C9D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMPScreenSnapz111.png" alt="JMPScreenSnapz111.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 17:02:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-values-in-window/m-p/42359#M24647</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2017-07-21T17:02:30Z</dc:date>
    </item>
  </channel>
</rss>

