キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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

解決済み
解決策を見る

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.

メッセージ1/7
5,557件の閲覧回数
解決策
受理者 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
メッセージ2/7
5,548件の閲覧回数

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

0 件の賞賛
メッセージ3/7
5,539件の閲覧回数

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 件の賞賛
メッセージ4/7
5,364件の閲覧回数

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.

メッセージ5/7
5,256件の閲覧回数

Thank you so much, this works pretty well!

0 件の賞賛
メッセージ6/7
5,229件の閲覧回数

Note: This bug also applies to the NXG checkbox. 

Replacing the images worked for me too. 

0 件の賞賛
メッセージ7/7
4,798件の閲覧回数