LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combo Box values

OK, so working with my poor workaround for the combo box item editor yielded this idea

Someone must have a better workaround (or even a plug-in) that would allow entering special characters in the values of a combo box.  Any Ideas?

 

(I've learned that saying "you can't do that in LabVIEW" on this forum is a quick way to get proven wrong)


"Should be" isn't "Is" -Jay
0 Kudos
Message 1 of 6
(2,756 Views)

On Windows, try holding down Alt while using the numeric keypad to enter the 4-digit decimal value you want.  For \FF try Alt+0255.

Message 2 of 6
(2,744 Views)

 


@Darin.K wrote:

On Windows, try holding down Alt while using the numeric keypad to enter the 4-digit decimal value you want.  For \FF try Alt+0255.

 

Interesting!  Some codes work others behave oddly (ack, tab, del, dle, lf, cr) del and tab especially!

 

Thanks for the tip


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 6
(2,737 Views)

Certain codes will obviously be blocked by the UI, tab and del are the prime examples you have discovered.  This method is no different than hitting the tab or delete key so it won't help you there.  Guess you'll still have to copy and paste those values into the editor for now.

0 Kudos
Message 4 of 6
(2,731 Views)

I forget what I used (combo box, enum, etc) but I tried to put a + and - sign in and switch between the two. While the - sign showed up correctly, when the user went to select from the drop down, it was a separator! Not very intuitive! I thought a \ would escape it, but no luck.

0 Kudos
Message 5 of 6
(2,723 Views)

Worser and worser.

 

Put multiple separators in and the item editor will puke (and require a UNIQUE value for each separator) 

 

Then just for kicks try to change from a STD to a Control and LV crashes

 

I see I'm going to need to write a serious utility for editing  combo box strings and vals


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 6
(2,714 Views)