LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox item selected and deselected

Solved!
Go to solution

Hi all,

 A listbox select item and paint background color,Enum at"Popup_Window".When selected it background color need selected other item that can painted previous one selected and deselected paint background color is right.Why select paint delay it? thanks!

  

0 Kudos
Message 1 of 3
(1,168 Views)
Solution
Accepted by topic author Sam.Huang

Hi Sam

 

There is no delay. What you are seeing is the current selected row is highlighted a different colour - the property is "Selection Color", and when you select a different row, then the previous row reverts to its actual colour (the one you specified).

 

To achieve the effect you want, you could change the event from "Mouse Down" (Notify) to "Mouse Down?" (Filter) and wire a Boolean True constant to the Discard? terminal on the right. Then the row will never be selected (and hence never highlighted with "Selection Color").

0 Kudos
Message 2 of 3
(1,144 Views)

Thank you very much for your help.

0 Kudos
Message 3 of 3
(1,120 Views)