<?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: Using a Multicolumn Listbox To Retrieve Selection Items in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975471#M855331</link>
    <description>&lt;P&gt;Hi David&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure without pressing control /shift key how will you point how many items you want to select?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2014 13:26:45 GMT</pubDate>
    <dc:creator>LV_user1</dc:creator>
    <dc:date>2014-09-02T13:26:45Z</dc:date>
    <item>
      <title>Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970499#M854445</link>
      <description>&lt;P&gt;Hello, I want to use a Multicolumn Listbox as a control. &amp;nbsp;This control will popup to a user and the user can select as many items (rows) as they would like. &amp;nbsp;When they are done with selecting which items (rows) they would like to select they hit the Done key to end the selection process. &amp;nbsp;Programatically, I then would like to create an array for all of the items (rows) selected. &amp;nbsp;I have two headers: Test Code and Test Name. &amp;nbsp;I would like to programatically create an array with the Test Codes and the Corresponding Test Names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I can do this with property nodes but I am a bit new to using Listboxes. &amp;nbsp;What is the best way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 20:12:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970499#M854445</guid>
      <dc:creator>hobby1</dc:creator>
      <dc:date>2014-08-27T20:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970601#M854452</link>
      <description>&lt;P&gt;A multicolumn listbox allows you to select 0 or more items by right-clicking on the control...Selection Mode....0 or more (or 1 or more depending on your requirements).&amp;nbsp; You'll want to setup an event to fire when the value of the control changes.&amp;nbsp; The new value will be an array of indexes that were selected by the user.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 20:28:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970601#M854452</guid>
      <dc:creator>aputman</dc:creator>
      <dc:date>2014-08-27T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970855#M854462</link>
      <description>&lt;P&gt;Thanks Aputman...If I have two columns of data for each row, is there a way to return that information based on only the selected items?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example - My two column headers are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test Code and Test Name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to return the Test Code and Test Names based on the selected rows?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My list box looks like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/4e074430a5431d9af4dad81026729b3a785f56ec/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31353236363169323043373436394535383332343946442f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Listbox.png" title="Listbox.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 20:59:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970855#M854462</guid>
      <dc:creator>hobby1</dc:creator>
      <dc:date>2014-08-27T20:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970985#M854472</link>
      <description>&lt;P&gt;Hello hobby1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you could use the invoke node of the multicolumn listbox which is "Point to Row Column". This property gives you the location of the selected row. See the example below. Any doubt just post it.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 21:15:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970985#M854472</guid>
      <dc:creator>manel549</dc:creator>
      <dc:date>2014-08-27T21:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970999#M854478</link>
      <description>&lt;P&gt;Use a property node with the Item Names selected.&amp;nbsp; This will return an array of your data.&amp;nbsp; All you have to do is index that array with the new value array returned by the event to give you another array with the selected Test Code and Test Name columns.&amp;nbsp; Try it out and if you have trouble, i can show you.&amp;nbsp; Best way to learn is to try.yourself.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://ni.lithium.com/i/smilies/16x16_smiley-happy.gif" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 21:31:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2970999#M854478</guid>
      <dc:creator>aputman</dc:creator>
      <dc:date>2014-08-27T21:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2971013#M854482</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/249688"&gt;@manel549&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello hobby1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you could use the invoke node of the multicolumn listbox which is "Point to Row Column". This property gives you the location of the selected row. See the example below. Any doubt just post it.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Manel,&lt;/P&gt;
&lt;P&gt;I don't think this is a good idea.&amp;nbsp; That method only seems useful on a table where you can select a single cell.&amp;nbsp; In a multi-column listbox, you are only concerned about the row(s) selected.&amp;nbsp; That method only returns one point for one row/column combination.&amp;nbsp; And honestly, I may be wrong because i don't use that method.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 21:42:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2971013#M854482</guid>
      <dc:creator>aputman</dc:creator>
      <dc:date>2014-08-27T21:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2971525#M854551</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check attached VI it may help you!!!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 05:24:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2971525#M854551</guid>
      <dc:creator>Miraz_Automation</dc:creator>
      <dc:date>2014-08-28T05:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975427#M855326</link>
      <description>&lt;P&gt;( to hijack this thread) Thanks that is just what I was looking for.&lt;/P&gt;
&lt;P&gt;Now if I could select multiple items without the control / shift keys it would be perfect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:03:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975427#M855326</guid>
      <dc:creator>DavidStevenson</dc:creator>
      <dc:date>2014-09-02T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975471#M855331</link>
      <description>&lt;P&gt;Hi David&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure without pressing control /shift key how will you point how many items you want to select?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:26:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975471#M855331</guid>
      <dc:creator>LV_user1</dc:creator>
      <dc:date>2014-09-02T13:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975473#M855332</link>
      <description>&lt;P&gt;If you hold down the cntl key you can click on an item to select it, or if already selected deselect it, and add and remove selections till you have the list you want. Then you click done.&lt;/P&gt;
&lt;P&gt;What I would like is this usage without needing to hold down the cntl key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:29:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975473#M855332</guid>
      <dc:creator>DavidStevenson</dc:creator>
      <dc:date>2014-09-02T13:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975481#M855334</link>
      <description>&lt;P&gt;that can be accomplished.&amp;nbsp; Try using a mouse down filter event on the listbox.&amp;nbsp; Use the Point to Row Column method to get the row.&amp;nbsp; Check to see if the value is already in the listbox array.&amp;nbsp; if so remove it.&amp;nbsp; If not, add it.&amp;nbsp; Update the display of the listbox.&amp;nbsp; Then discard the mouse down event.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:37:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975481#M855334</guid>
      <dc:creator>aputman</dc:creator>
      <dc:date>2014-09-02T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975483#M855335</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;DavidStevenson wrote:What I would like is this usage without needing to hold down the cntl key. &lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;But that goes against every single UI I have ever seen.&amp;nbsp; That would just confuse users.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:38:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975483#M855335</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2014-09-02T13:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975487#M855337</link>
      <description>&lt;P&gt;aputman: Thanks, I will have a play with that. ( the lazy part of me says any example code?&amp;nbsp; 8-) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;crossrulz: It depends on whether the machine has a keyboard.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:45:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975487#M855337</guid>
      <dc:creator>DavidStevenson</dc:creator>
      <dc:date>2014-09-02T13:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975513#M855341</link>
      <description>&lt;P&gt;OOOOOKKKKKKK. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/faf179b6957aba517990f1131ff4f88125279c30/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31353330323169334432354545463136363745343932342f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="mc_listbox.png" title="mc_listbox.png" align="middle" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:09:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975513#M855341</guid>
      <dc:creator>aputman</dc:creator>
      <dc:date>2014-09-02T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975703#M855386</link>
      <description>&lt;P&gt;just mouse down on any row, shift reg saves values...&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/dd42eaf85995b72d4d2f920d708b8177d7bc0c52/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31353330333169303744344435313831343831324143352f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="listbox.png" title="listbox.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 16:12:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2975703#M855386</guid>
      <dc:creator>apok</dc:creator>
      <dc:date>2014-09-02T16:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2976065#M855449</link>
      <description>&lt;P&gt;My thanks to both of you.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 21:13:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/2976065#M855449</guid>
      <dc:creator>DavidStevenson</dc:creator>
      <dc:date>2014-09-02T21:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/3215172#M933588</link>
      <description>&lt;P&gt;I know this an old thread, but could somebody point out my obvious mistake.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was looking at the example posted by apok and have on major problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When ever I put a MCL onto a front panel and look at the "value" property node I only see it giving my a long 32 int not an array. I asumed that to get an array out of value I need to set someother property, but after an hour playing I cannot find which one. Help please&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 10:23:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/3215172#M933588</guid>
      <dc:creator>danny_t</dc:creator>
      <dc:date>2015-11-10T10:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/3215187#M933597</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/85438"&gt;@danny_t&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;When ever I put a MCL onto a front panel and look at the "value" property node I only see it giving my a long 32 int not an array. &lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to right click&amp;gt;&amp;gt;Selection Mode&amp;gt;&amp;gt;Data type&amp;gt;&amp;gt;Array&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 11:29:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/3215187#M933597</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2015-11-10T11:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Multicolumn Listbox To Retrieve Selection Items</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/3215190#M933599</link>
      <description>&lt;P&gt;Thank you for the quick reply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Really do not know how I missed that one .&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 11:40:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Using-a-Multicolumn-Listbox-To-Retrieve-Selection-Items/m-p/3215190#M933599</guid>
      <dc:creator>danny_t</dc:creator>
      <dc:date>2015-11-10T11:40:35Z</dc:date>
    </item>
  </channel>
</rss>

