LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multicolumn Listbox - Unwanted white selection box

Solved!
Go to solution

Hello everyone,

 

I am seeing undesired behaviour with my multicolumn listbox (as seen in the attached picture) when selecting an item. I have searched for smiliar issues but I did not find a solution - nor did I find any properties that could disable what I am seeing.

White Selection Box.PNG

 

Any help would be appreciated. Thanks,

 

Marcin

0 Kudos
Message 1 of 7
(4,227 Views)
A couple things you could try:

1. Ensure "Editable Cells" is turned off.
2. If #1 doesn't help, try setting the KeyFocus property to False.

I have yet to reproduce the behavior you saw so I'm not sure if those will help.
Quentin "Q" Alldredge

Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI)
Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner



0 Kudos
Message 2 of 7
(4,212 Views)

Unfortunately those didn't help. Prior to launching the software I execute some init code as below,

init code.PNG

Setting CellBG to transparent doesn't eliminate the issue.

0 Kudos
Message 3 of 7
(4,207 Views)

// duplicate

0 Kudos
Message 4 of 7
(4,204 Views)

In the Selection Mode menu, is "Highlight Entire Row" checked? Are you changing the row color somewhere else in your code?  The only way I can simulate anything like this is when Highlight Entire Row is unchecked.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 5 of 7
(4,165 Views)
Solution
Accepted by topic author MPolaszyk

I managed to fix the issue simply by disabling and enabling the field - still not sure what caused it though.

 

Cheers for the input

0 Kudos
Message 6 of 7
(4,140 Views)

can you share the code with issue? Will try to replicate the issue and try to find the actual problem.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 7 of 7
(4,136 Views)