<?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: File selector in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/File-selector/m-p/520277#M74614</link>
    <description>&lt;P&gt;&amp;nbsp;You can get list of open datatables with &amp;lt;&amp;lt; get data table list(), and you can combine that with &amp;lt;&amp;lt; Get name to get names of those. List Box allows you to create selector for those based on the name list. &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
Open("$SAMPLE_DATA/Big Class.jmp");
Open("$SAMPLE_DATA/Cars.jmp");
Get Data Table List() &amp;lt;&amp;lt; get name;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For the "expand existing window" you can use &amp;lt;&amp;lt; append with text edit boxes to allow user to type into or maybe Table Box with String Col Edit Box.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 17:10:09 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-07-12T17:10:09Z</dc:date>
    <item>
      <title>File selector</title>
      <link>https://community.jmp.com/t5/Discussions/File-selector/m-p/520274#M74613</link>
      <description>&lt;P&gt;I am trying to create a small menu that allows you to choose open data tables. Once you highlight the files you want and press a "Add files" button it will expand the existing window in another box showing the file name and two other text boxes in which the user can type stuff into.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this be achieved?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:04:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-selector/m-p/520274#M74613</guid>
      <dc:creator>Andyon98</dc:creator>
      <dc:date>2023-06-09T17:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: File selector</title>
      <link>https://community.jmp.com/t5/Discussions/File-selector/m-p/520277#M74614</link>
      <description>&lt;P&gt;&amp;nbsp;You can get list of open datatables with &amp;lt;&amp;lt; get data table list(), and you can combine that with &amp;lt;&amp;lt; Get name to get names of those. List Box allows you to create selector for those based on the name list. &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
Open("$SAMPLE_DATA/Big Class.jmp");
Open("$SAMPLE_DATA/Cars.jmp");
Get Data Table List() &amp;lt;&amp;lt; get name;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For the "expand existing window" you can use &amp;lt;&amp;lt; append with text edit boxes to allow user to type into or maybe Table Box with String Col Edit Box.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 17:10:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-selector/m-p/520277#M74614</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-07-12T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: File selector</title>
      <link>https://community.jmp.com/t5/Discussions/File-selector/m-p/520423#M74616</link>
      <description>I’ve got something now but im finding it difficult to select multiple files and create another box for each one instead of creating only one box for &amp;gt; 1 chosen file.</description>
      <pubDate>Tue, 12 Jul 2022 20:12:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-selector/m-p/520423#M74616</guid>
      <dc:creator>Andyon98</dc:creator>
      <dc:date>2022-07-12T20:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: File selector</title>
      <link>https://community.jmp.com/t5/Discussions/File-selector/m-p/520564#M74623</link>
      <description>&lt;P&gt;Get list of the items from List Box and then loop over them while adding new boxes (or use table box). I cannot really give better advice as I have no real idea what I'm helping with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("Example",
	H List Box(
		V List Box(
			a = List Box({"single", "double", "triple"}),
			b = Button Box("Add Selections",
				selections = a &amp;lt;&amp;lt; Get Selected;
				scb &amp;lt;&amp;lt; Add Element(selections);
				sceb1 &amp;lt;&amp;lt; Add Element(Repeat({""}, N Items(selections)));
				sceb2 &amp;lt;&amp;lt; Add Element(Repeat({""}, N Items(selections)));				
			)
		),
		tb = Table Box(
			scb = String Col Box("Option", {}),
			sceb1 = String Col Edit Box("Edit1", {}),
			sceb2 = String Col Edit Box("Edit2", {})
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2022 06:01:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-selector/m-p/520564#M74623</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-07-13T06:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: File selector</title>
      <link>https://community.jmp.com/t5/Discussions/File-selector/m-p/520586#M74624</link>
      <description>&lt;P&gt;That's no problem, thank you so much for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 08:00:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-selector/m-p/520586#M74624</guid>
      <dc:creator>Andyon98</dc:creator>
      <dc:date>2022-07-13T08:00:55Z</dc:date>
    </item>
  </channel>
</rss>

