03-13-2015 12:07 PM
Is there anyway to disable highlighting in a multicolumn listbox? I tried searching and all a saw was some really old posts and some crude work arounds. In older versions of Labview this seemed like a bug, but in 2013sp1 this should be fixed by now.
03-14-2015 12:44 PM
If I understand what you want correctly, then there are two options on the MCLB which can help you. The first is to set it to highlight the entire row. The second is to set it to allow selecting no elements (an empty array or a -1, depending on the data type you configured for the control). You can also change it to an indicator, disable it or write code to discard updates to it.
07-25-2024 02:14 AM
Can you give vi or snippet?
07-25-2024 06:12 AM
The first two options I suggested don't require any code, just right clicking on the control and finding the correct option. I'll leave that to you, because it's a good idea to know what the options in the menu are.
If they don't do what you want, I suggest you provide more details about what you actually want, ideally with an actual VI.
07-25-2024 07:30 AM
Just set the highlight color to be the same as the cell color.
07-25-2024 11:32 AM - edited 07-25-2024 11:34 AM
@nonecure wrote:
Is there anyway to disable highlighting in a multicolumn listbox? I tried searching and all a saw was some really old posts and some crude work arounds. In older versions of Labview this seemed like a bug, but in 2013sp1 this should be fixed by now.
If you found some really old posts, why not give a link so we are all on the same page?
You can embed your picture into the posts so it is easier for all of use to understand the problem.
It also helps to give more context. Is your listbox a control or indicator and how does the user interact with it? As has been said, you can set the selection color to the cell color.
If this is just a glorified table listing tests results, maybe a table indicator would be more suitable. In a table, the 2D array of strings is the "value". For a listbox, the selected item(s) is the "value" and it should typically be highlighted so we actually know the value!
Once you explain what problem you are actually trying to solve, we can probably give more targeted advice.
07-26-2024 01:27 AM
If I set the highlight color, the text color also becomes the same color, so text is not visible.
07-26-2024 02:08 AM
Hello Karthi_Vel,
please try to answer the questions.
07-26-2024 02:51 AM
@Karthi_Vel wrote:
If I set the highlight color, the text color also becomes the same color, so text is not visible.
text color, background color, and highlight color are all different. We have no idea what you did.