ComboBox class/Strings And Values () property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 6347004
Scope Basic Development Environment
Data Name Strings And Values[]
Short Name* StringsAndValues[]
Long Name* Strings And Values []
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 29
Owning Class Name ComboBox Class
Data Type Common Cluster Array TypeDef data type

Common Cluster Array TypeDef

Property Node Strings And Values []
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryYes
Need to authenticate before useNo
PermissionsRead/Write
Remote access allowedYes
Settable when the VI is runningYes

Array of clusters containing the strings from which you can select in the combo box control and the values for each string. Use the Strings () property if you do not need to specify custom values for each string.

If you wire strings to this property but you do not wire any values, LabVIEW sets the values equal to the strings you wired. If you wire the same values to this property, LabVIEW returns an error.

This property is similar to the Edit Items item on the shortcut menu of a combo box control and to the Labels and Values options on the Edit Items page of the Combo Box Properties dialog box.

Elements
Name Description
String A string in the combo box.
Value The corresponding value for the string.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links