<?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 to Programmatically Select an Item in a ListBox in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37050#M21755</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/182"&gt;@ms&lt;/a&gt;. This makes sense. I'll try it later then I will provide an update. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2017 19:21:59 GMT</pubDate>
    <dc:creator>csoon1</dc:creator>
    <dc:date>2017-03-10T19:21:59Z</dc:date>
    <item>
      <title>How to Programmatically Select an Item in a ListBox</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37043#M21751</link>
      <description>&lt;P&gt;I have a ListBox (not VListBox). Normally when I click at each item using a mouse, the item will be highlighted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have a list() that contains some items. The items on the list() do not necessarily match the items on the ListBox. Through code, I want to automatically select (highlight) the items on the ListBox that are present on the list(). For example: If my ListBox contains the items {"a", "b", "c", "d", "e"}... and my list contains {"c", "e"},... I want items "c" and "e" to appear highlighted on my ListBox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using JMP13. If you have any suggestions please let me know.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 18:38:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37043#M21751</guid>
      <dc:creator>csoon1</dc:creator>
      <dc:date>2017-03-10T18:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Programmatically Select an Item in a ListBox</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37049#M21754</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;L1 = {"a", "b", "c", "d", "e"};
L2 = {"a", "b"};

New Window("Example", lb = List Box(L1));

For(i = 1, i &amp;lt;= N Items(L2), i++,
    lb &amp;lt;&amp;lt; set selected(Loc(L1, L2[i]))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 19:19:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37049#M21754</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-03-10T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Programmatically Select an Item in a ListBox</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37050#M21755</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/182"&gt;@ms&lt;/a&gt;. This makes sense. I'll try it later then I will provide an update. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 19:21:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Programmatically-Select-an-Item-in-a-ListBox/m-p/37050#M21755</guid>
      <dc:creator>csoon1</dc:creator>
      <dc:date>2017-03-10T19:21:59Z</dc:date>
    </item>
  </channel>
</rss>

