LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Highlighted Text Button Bug with NXG Style Controls in Current Gen LabVIEW 64-bit

Solved!
Go to solution

I'm using LabVIEW 2018 64-bit and started playing with the NXG controls.  When you mouse over a Text Button, the NXG control highlights.  When you then click the button, it retains that highlighted color (different than the ON state color).  This does not happen when I use a Modern Style Text Button.  See the attached example and the screenshots below. 

 

Capture.PNGSnip.png

 

All buttons have the same mechanical action (latch when released).  To get the front panel in the state shown, simply run the VI and then click the top two buttons in any order.  Note that the NXG Text Button retains a highlighted color while the Modern Button does not.  If you click both NXG buttons, both remain highlighted.  To set the buttons back to normal color, you can resize the front panel window while it's running or tab through the controls.  This does not happen in 32-bit LabVIEW 2018.  I haven't tested other versions.

Message 1 of 7
(3,990 Views)
Solution
Accepted by croohcifer

I've updated CAR 736213 on this issue with additional details, this also reproduces for me in LV 2019 64-bit, and doesn't affect 32-bit (as you noted).

 

Interestingly, if you resize the LV window the color goes back to what it should be.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 2 of 7
(3,981 Views)

Thanks, Craig!  Glad to hear NI is already tracking this.

0 Kudos
Message 3 of 7
(3,972 Views)

Hello,

just updated LabVIEW to LabVIEW 2019 (64-bit) and ran into the same issue. Is there already a solution or a reasonable workaround for this?

Would be quite nice.

 

Elias

 

 

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

I found a workaround to this issue, if anyone is still dealing with it.

 

I noticed that when you try to "customize" an NXG button, there are 6 picture items instead of 4.  The two extra items are just white, which I think is where the highlighting comes from.  If you replace these last two items with the first two picture items (copy the first two items to the clipboard, then past from clipboard at same size for the last two items) then the button behaves as intended.

 

I attached an NXG button that has been modified this way.

Message 5 of 7
(3,689 Views)

Thank you so much, this works pretty well!

0 Kudos
Message 6 of 7
(3,662 Views)

Note: This bug also applies to the NXG checkbox. 

Replacing the images worked for me too. 

0 Kudos
Message 7 of 7
(3,231 Views)