ComboBox class/Strings () property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 6347003
Scope Basic Development Environment
Data Name Strings[]
Short Name* Strings[]
Long Name* Strings []
* 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 String Array data type

String Array

Property Node Strings []
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 the strings from which you can select in the combo box control. Use the Strings And Values () property to specify custom values for each string.

If you use this property with a combo box control that has custom values, the number of values for the combo box control determines the number of strings you can set using this property. For example, if the combo box control has the values Free, Discount, and Full, you can set only three strings using this property.

If the combo box control has more values than the number of strings you wire to this property, LabVIEW creates strings for any values that do not have corresponding strings. For example, if the combo box control has the values Free, Discount, and Full and you wire the strings Voucher and Coupon to this property, LabVIEW sets the last string to <Full>.

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


Uses

History

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

See Also

External Links