LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

better way to set MCL selection color

I have continuously changing cell background colors in a MClistbox as is simulated by the "consumer" loop. I don't want any sort of color to show what is selected. My first though was, set the selection color property to transparent. But if you do that, you can't see the data in the cell! This was the only way I could figure out how make it look like there is no selection color.

 

Is there a better way?

 

I saw some stuff about properties for this in LabWINDOWS mentioned on these forums (i think) but I wasn't sure what to do here.

 

also, why don't snippets allow implicit property nodes? I swear my code isn't as messy as the snippet made it!

 

 

Message Edited by for(imstuck) on 06-11-2010 01:49 PM
0 Kudos
Message 1 of 6
(2,975 Views)

Snippet didn't work. Here is a normal .png

Message Edited by for(imstuck) on 06-11-2010 01:54 PM
0 Kudos
Message 2 of 6
(2,967 Views)

for(imstuck) wrote:

Is there a better way?

Make it an indicator?

also, why don't snippets allow implicit property nodes? I swear my code isn't as messy as the snippet made it!

 

That's because you should have used the Code Capture Tool

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 6
(2,954 Views)
I have it, i just shoulda used it ;). And, as for the more important question...?
0 Kudos
Message 4 of 6
(2,952 Views)

Does the indicator trick work? And why do you want to use a listbox without seeing the current selection. (you could set the value of the listbox to -1)

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 5 of 6
(2,949 Views)

TCPlomp wrote:

Does the indicator trick work? And why do you want to use a listbox without seeing the current selection. (you could set the value of the listbox to -1)

 

Ton


 

Doh, I read right over your suggestion! And I didn't write the piece of junk code. I am just making some changes.
Message Edited by for(imstuck) on 06-11-2010 06:29 PM
0 Kudos
Message 6 of 6
(2,934 Views)