<?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: listbox selection in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482230#M231663</link>
    <description>problem solved.&lt;BR /&gt;&lt;BR /&gt;value (signaling) did it for me.&lt;BR /&gt;&lt;BR /&gt;Too many hours of work &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 23 Feb 2007 07:20:03 GMT</pubDate>
    <dc:creator>Nallez</dc:creator>
    <dc:date>2007-02-23T07:20:03Z</dc:date>
    <item>
      <title>listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/475170#M228670</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I have following problem with the listbox selection system:&lt;BR /&gt;&lt;BR /&gt;I have to force the user after one selection of first two items to select other than the first two, BUT&lt;BR /&gt;when i select the new value from listbox, the "Mouse selection" stays behind and takes item from first two, which it should take it from.&lt;BR /&gt;&lt;BR /&gt;First selection &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;BR /&gt;
LISTBOX:&lt;/B&gt;&lt;BR /&gt;Val1*Usable*&amp;nbsp; &amp;lt;-select this with mouse&lt;BR /&gt;Val2*Usable*&lt;BR /&gt;Val3*Not Usable*&lt;BR /&gt;Val4*Not Usable*&lt;BR /&gt;Val5*Not Usable*&lt;BR /&gt;&lt;BR /&gt;sets some values not usable and then sets the selection to 3rd item.&lt;BR /&gt;&lt;BR /&gt;After first selection&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;LISTBOX:&lt;/B&gt;&lt;BR /&gt;Val1*Not Usable*&amp;nbsp; &amp;lt;- gets value of this&lt;BR /&gt;
Val2*Not Usable*&lt;BR /&gt;Val3*Usable* &amp;lt;- Highlights this&lt;BR /&gt;
Val4*Usable*&lt;BR /&gt;Val5*Usable* &lt;BR /&gt;&lt;BR /&gt;Any easy fix for this one?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Feb 2007 11:57:22 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/475170#M228670</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-08T11:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/475179#M228673</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Use a property node of List box with its attributes set to disabled items.&lt;/P&gt;
&lt;P&gt;The items at those indices ( specified by disabled items array) shall be disabled on your listbox control&lt;/P&gt;
&lt;P&gt;look at attached pic&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2007 12:31:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/475179#M228673</guid>
      <dc:creator>devchander</dc:creator>
      <dc:date>2007-02-08T12:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/476467#M229204</link>
      <description>&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/25033"&gt;@devchander&lt;/a&gt; wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Use a property node of List box with its attributes set to disabled items.&lt;/P&gt;
&lt;P&gt;The items at those indices ( specified by disabled items array) shall be disabled on your listbox control&lt;/P&gt;
&lt;P&gt;look at attached pic&lt;/P&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;Yes. I have disabled them just like in your picture there, but the last selection with mouse still holds the value rather than the selection i made programatically!&lt;BR /&gt;It still selects the disabled item and i consider this a BUG in the program.&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 11 Feb 2007 08:54:43 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/476467#M229204</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-11T08:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/477964#M229793</link>
      <description>&lt;DIV&gt;Could you please attach the program that you have built.&lt;/DIV&gt;
&lt;DIV&gt;Probably we could take a look at it and suggest better&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Feb 2007 08:41:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/477964#M229793</guid>
      <dc:creator>devchander</dc:creator>
      <dc:date>2007-02-14T08:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/478113#M229857</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I have to second Dev's request for code that illustrates this behaviour. We do much better at answering Q's when we have code to look at.&lt;/P&gt;
&lt;P&gt;We will jump on a bug like a prey mantis once we can see it.&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2007 14:20:23 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/478113#M229857</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2007-02-14T14:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481216#M231217</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Phase1:&lt;BR /&gt;I have only 2 selections to choose from, I choose one of them and press "Lisää Lohko", which means "Add Block".&lt;BR /&gt;&lt;A href="http://img57.imageshack.us/img57/3609/phase1fj3.png" target="_blank"&gt;http://img57.imageshack.us/img57/3609/phase1fj3.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Phase2: &lt;BR /&gt;The selection copied to the left listbox. Then program disables the first 2 selections, so you cant select more than 1 of them.&lt;BR /&gt;&lt;A href="http://img214.imageshack.us/img214/9505/phase2bx2.png" target="_blank"&gt;http://img214.imageshack.us/img214/9505/phase2bx2.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Phase3:&lt;BR /&gt;I just click the "Lisää Lohko"- button, which adds item from the list, but none is selected and it still adds the first item!&lt;BR /&gt;Even if i select programatically the 3rd item from the selection list, it still adds the first item if i dont push it with a mouse.&lt;BR /&gt;&lt;A href="http://img341.imageshack.us/img341/3226/phase3dy5.png" target="_blank"&gt;&lt;SPAN style="text-decoration: underline;"&gt;http://img341.imageshack.us/img341/3226/phase3dy5.png&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Nallez on &lt;SPAN class="date_text"&gt;02-21-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:11 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2007 13:09:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481216#M231217</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-21T13:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481220#M231220</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;LOHKOLISTA-listbox disabling code:&lt;BR /&gt;&lt;BR /&gt;Phase1 Code for disabling:&lt;BR /&gt;&lt;A href="http://img64.imageshack.us/img64/952/noitemsgb7.png" target="_blank"&gt;http://img64.imageshack.us/img64/952/noitemsgb7.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Phase2 Code for disabling is similar, but with only [0,1] on the array.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Nallez on &lt;SPAN class="date_text"&gt;02-21-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:20 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2007 13:19:04 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481220#M231220</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-21T13:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481668#M231402</link>
      <description>^&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Feb 2007 07:19:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481668#M231402</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-22T07:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481675#M231404</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Nallez&lt;/P&gt;
&lt;P&gt;One question - why don't you use two different listboxes? In my opinion it is not so userfriendly to enable and disable values of a listbox according to a selection in this listbox.&lt;/P&gt;
&lt;P&gt;If you use two listboxes, you can fill the second one with values depending on the selection made in the first one. After performing this selection, you could disable the first listbox, fill the second one and enable it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2007 07:50:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481675#M231404</guid>
      <dc:creator>becktho</dc:creator>
      <dc:date>2007-02-22T07:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481721#M231424</link>
      <description>&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/28403"&gt;@becktho&lt;/a&gt; wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Nallez&lt;/P&gt;
&lt;P&gt;One question - why don't you use two different listboxes? In my opinion it is not so userfriendly to enable and disable values of a listbox according to a selection in this listbox.&lt;/P&gt;
&lt;P&gt;If you use two listboxes, you can fill the second one with values depending on the selection made in the first one. After performing this selection, you could disable the first listbox, fill the second one and enable it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;Because the customer wants it that way.&lt;BR /&gt;&lt;BR /&gt;If customer wants -&amp;gt; he gets. &lt;SPAN&gt;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.ni.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Feb 2007 10:10:14 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481721#M231424</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-22T10:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481724#M231426</link>
      <description>&lt;DIV&gt;Ok - forget what I said (at least for this project) ;).&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Feb 2007 10:15:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481724#M231426</guid>
      <dc:creator>becktho</dc:creator>
      <dc:date>2007-02-22T10:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481784#M231461</link>
      <description>up ^&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Feb 2007 12:45:36 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/481784#M231461</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-22T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482225#M231660</link>
      <description>no one knows any solution to this ?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Feb 2007 06:45:00 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482225#M231660</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-23T06:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482227#M231662</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Nallez&lt;/P&gt;
&lt;P&gt;I think this is what you are looking for..&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:12:19 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482227#M231662</guid>
      <dc:creator>becktho</dc:creator>
      <dc:date>2007-02-23T07:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482230#M231663</link>
      <description>problem solved.&lt;BR /&gt;&lt;BR /&gt;value (signaling) did it for me.&lt;BR /&gt;&lt;BR /&gt;Too many hours of work &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:20:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482230#M231663</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-23T07:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482232#M231664</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Just in case you don't know it yet:&lt;/P&gt;
&lt;P&gt;The property value simply changes the value of a control (without generating an event).&lt;/P&gt;
&lt;P&gt;The property value (signaling) also changes the value of a control, but also generates an event. So if you have an event-structure with the event "Control": Value Change, this frame will be executed. As if you changed the value of the control via user interface.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:24:21 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482232#M231664</guid>
      <dc:creator>becktho</dc:creator>
      <dc:date>2007-02-23T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: listbox selection</title>
      <link>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482234#M231665</link>
      <description>yep. i read the help-info about it and had an moment of light &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:39:22 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/listbox-selection/m-p/482234#M231665</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2007-02-23T07:39:22Z</dc:date>
    </item>
  </channel>
</rss>

