LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox highlighting problem

Solved!
Go to solution

I am having a problem with a listbox in 7.1.1.  I have "1 item" selection mode set.  Sometimes the highlighted item in the listbox is changed manually with a mouse click, and sometimes it is changed programmatically.

 

My issue is that sometimes the shading that indicates the selected item gets "stuck" on a selection, so that the previously selected item, and the new item, are both highlighted.  This happens with programmatic and manual selected item changes.  Over time, several items are highlighted.  The program corrects itself when the scrollbar of the listbox is moved.  (The programs functions properly otherwise.)

 

It seems that its a labview issue, which is fine, but I will give up trying to rework my program.  Or maybe there is a workaround to prevent it.  I've tried putting some wait functions and sequence structures in different locations to give labview more time to change the highlight, but nothing seems to work.  ??

 

Thanks!

Greg

v7.1
0 Kudos
Message 1 of 8
(4,275 Views)

Hi gstanczak,

 

 Can you post your code?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 8
(4,252 Views)
Solution
Accepted by topic author gstanczak

That may have been a bug in version 7.1.1 of LV.

 

Hide/Show or Invoke Node >>> Get Image sometimes help to get LV to update the screen.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 8
(4,231 Views)

Thanks Ben.  I will try your suggestions.

 

gak:  I will post my code shortly.  Let me just simplify it and make it able to run without all of the data files that it currently needs to work.

 

Greg

v7.1
0 Kudos
Message 4 of 8
(4,228 Views)

Ben that's it!!!    hide/show     Eventhough its a workaround, I think its worth a solution.

 

 

gak:  Its working nicely now, thanks anyhow.

 

Greg

 

Message Edited by gstanczak on 10-23-2009 10:41 AM
v7.1
Message 5 of 8
(4,215 Views)

gstanczak wrote:

Ben that's it!!!    hide/show     Eventhough its a workaround, I think its worth a solution.

 

... 

 

Greg

 


Cool. That is what I alway thought of as the "jiggle the handle" work-around.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 8
(4,204 Views)

Clever!  I will refer to you for my plumbing problems as well.

 

Greg

v7.1
0 Kudos
Message 7 of 8
(4,191 Views)

gstanczak wrote:

Clever!  I will refer to you for my plumbing problems as well.

 

Greg


Now you did it! You gave me a reason to tell another Family Sea Story.

 

One summer my dad was remodling one of his bathrooms and they (dad, sister and brother) had everything ripped out and had rags stuffed in the waste stack. So they worked for a while and later realized those rags are there anymore, bummer. So they broke out the snake and quickly snagged those rags BUT neglected to shut off the drill while pulling it out.

 

My sister has a video of when The Sh#$ hit the fan". She still giggles ever time we talk about another remodeling project.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 8 of 8
(4,185 Views)