DIAdem Help

Method: Items for ChnListBox

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

Method: Items for ChnListBox

Returns a collection of all selection terms of a ChnListBox selection list in user dialog boxes.

Set oChnListItems = Object.Items
ObjectChnListBox
Object with this method
oChnListItemsChnListItems
Returned collection

The following example displays the number of selection terms in ChnListBox1:

Call MsgBoxDisp(ChnListBox1.Items.Count)

The following example displays the third selection term in ChnListBox1:

Call MsgBoxDisp(ChnListBox1.Items(3).Text)