DIAdemヘルプ

Method: Items for ChnListBox

  • 更新日2024-09-12
  • 4分で読める

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)