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

Collection: ListItems

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

Collection: ListItems

Collection of all selection terms of a selection list or a radio button in user dialog boxes.

The following example displays all selection terms in the ComboBox1 channel selection list:

Dim i
For i = 1 To ComboBox1.Items.Count
  Call MsgBoxDisp(i & ", " & ComboBox1.Items(i).Text)
Next
Note  The methods Add, Remove, and RemoveAll are not available for the controls EnumComboBox, EnumListBox, and RadioButton.

Properties

Count

Methods

Add | Item | Remove | RemoveAll