LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Force a combo box to only work as a drop down

This new version changes background color automatically when change from control to indicator.

System ComoboBox.png

 

George Zou
Message 31 of 35
(115 Views)

Looks good,!

BTW how to remove the thin red line around the box - it's not fitting to existing control styles.

0 Kudos
Message 32 of 35
(102 Views)

Oops.  I accidentally set the red component to a wrong number.

Thanks Luben.

 

It's fixed now.

System ComoboBox.png

 

George Zou
Message 33 of 35
(79 Views)

Hi George,

 

Thank you - this control works well!

There is still one "blind spot" and you can output in some circumstances void string, the "fooling" sequence is:

1. Click on the control, for example it can show A (the character is also selected).

2. Instead of typing a letter or up/down arrow keys (which work perfectly) press the left arrow few times until the cursor moves before the string

3. Then press Delete or any letter, which is not part of the list (for example in the original control any letter except A, B and C) and the control will show blank value.

Lubenhristov_0-1759951458878.png

 

0 Kudos
Message 34 of 35
(69 Views)

I am not trying to fix the empty string bug.  In fact, you can't fix this bug by customizing the ctrl.

What you can do this call NI to report this bug and get a CAR#.  Hopefully NI will fix it.

 

George Zou
Message 35 of 35
(56 Views)