ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem Help

Object: EnumComboBox

  • Updated2024-09-12
  • 3 minute(s) read

Object: EnumComboBox

The EnumComboBox object corresponds to the EnumComboBox control in a user dialog box. You use the EnumComboBox object to define a selection list that displays in the user dialog box. The list drops down when you click the box. Specify the displayed selection terms using a dynamic enumeration list variable or an enumeration variable.

Note  The ComboBox control has similar properties. However, you use ListItems in the Properties tab to specify the selection terms for the control.

The following example selects the second selection term in the EnumComboBox1 selection list:

EnumComboBox.Selection = 2

Properties Only Available on the Properties Tab

DropDownWidth | Flex | Layer | Picture | PictureAlign | PictureWidth | Sort | Variable | VariableColIndex | VariableRowIndex