<?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: JSL :: Event handling or Data binding to list  boxes in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46364#M26424</link>
    <description>&lt;P&gt;Because of the specifics on the Col List Box(), what I find the best, and maybe the only way to handle the replacement of the data table associated with the object, is to delete the object and to replace it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
QorvoPE_Select_Table = Function( {},
	table_list = {};
	For( t = 1, t &amp;lt;= N Table(), t++,
		Insert Into( table_list, Data Table( t ) &amp;lt;&amp;lt; get name )
	);
	QorvoPE_Select_Table_dlg = New Window( "Select Data Table For Limit Calculation. ",
		&amp;lt;&amp;lt;modal,
		&amp;lt;&amp;lt;return result,
		Panel Box( "Select Table and columns",
			select_table = Combo Box(
				table_list,
				table = select_table &amp;lt;&amp;lt; get selected();
				data col clb# &amp;lt;&amp;lt; delete;
				MYHLB &amp;lt;&amp;lt; append(
					data col clb# = Col List Box( Data Table( select_table &amp;lt;&amp;lt; get selected ), all )
				);
			),
			MYHLB = H List Box(
				data col clb# = Col List Box( Data Table( select_table &amp;lt;&amp;lt; get selected ), all ), 

			)
		)
	);
);

QorvoPE_Select_Table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Oct 2017 20:02:11 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-10-24T20:02:11Z</dc:date>
    <item>
      <title>JSL :: Event handling or Data binding to list  boxes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46355#M26420</link>
      <description>&lt;P&gt;Hello JMP Community,&lt;/P&gt;&lt;P&gt;I am in the middle of designing a GUI which allows to select an input table/ columns and an output table/ columns.&amp;nbsp; I am strunggeling with on how JSL handles mous clicks:&amp;nbsp; I want to select a table using a combo box, with a Col List Box updating following the mouse click on the combo box (how does the data binding of the Col list Box occur?).&amp;nbsp; Please have a look at the attached image for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmp_jsl_q.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8132iE0B9E792CD87E8B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="jmp_jsl_q.png" alt="jmp_jsl_q.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help apprechiated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 18:18:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46355#M26420</guid>
      <dc:creator>ThorstenSaeger</dc:creator>
      <dc:date>2017-10-24T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: JSL :: Event handling or Data binding to list  boxes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46364#M26424</link>
      <description>&lt;P&gt;Because of the specifics on the Col List Box(), what I find the best, and maybe the only way to handle the replacement of the data table associated with the object, is to delete the object and to replace it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
QorvoPE_Select_Table = Function( {},
	table_list = {};
	For( t = 1, t &amp;lt;= N Table(), t++,
		Insert Into( table_list, Data Table( t ) &amp;lt;&amp;lt; get name )
	);
	QorvoPE_Select_Table_dlg = New Window( "Select Data Table For Limit Calculation. ",
		&amp;lt;&amp;lt;modal,
		&amp;lt;&amp;lt;return result,
		Panel Box( "Select Table and columns",
			select_table = Combo Box(
				table_list,
				table = select_table &amp;lt;&amp;lt; get selected();
				data col clb# &amp;lt;&amp;lt; delete;
				MYHLB &amp;lt;&amp;lt; append(
					data col clb# = Col List Box( Data Table( select_table &amp;lt;&amp;lt; get selected ), all )
				);
			),
			MYHLB = H List Box(
				data col clb# = Col List Box( Data Table( select_table &amp;lt;&amp;lt; get selected ), all ), 

			)
		)
	);
);

QorvoPE_Select_Table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Oct 2017 20:02:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46364#M26424</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-10-24T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: JSL :: Event handling or Data binding to list  boxes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46370#M26429</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;That helped a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishs,&lt;/P&gt;&lt;P&gt;--Thorsten&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 21:44:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Event-handling-or-Data-binding-to-list-boxes/m-p/46370#M26429</guid>
      <dc:creator>ThorstenSaeger</dc:creator>
      <dc:date>2017-10-24T21:44:08Z</dc:date>
    </item>
  </channel>
</rss>

