02-03-2011 09:22 AM
A combo box will output one of two types of data. If it finds the value entered on its front panel control in the strings column of the Strings and Values[] array, it will output the corresponding value cell. Otherwise it will output the string. So, if my Strings and Values[] array looks like this:
Red, 0
Yellow, 1
Green, 2
and I enter "Orange", then the combo box outputs "Orange". If I enter "Yellow", then the combo box outputs "1" rather than "Yellow".
Is there any method to determine which behavior the control used?
Solved! Go to Solution.
02-03-2011 09:36 AM
Actually, the datatype is always a string. The "value" needs to be interpreted as a numeric by you. Off the top of my head, you have 2 ways you can do this:
I'm sure there are others.
02-03-2011 09:45 AM
Thanks, s.
Exactly what I needed.