05-11-2011 11:11 AM
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)
05-11-2011 12:16 PM
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.
05-11-2011 12:35 PM
@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
05-11-2011 12:50 PM
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.
05-11-2011 01:15 PM - edited 05-11-2011 01:15 PM
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.
05-11-2011 01:30 PM
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