The items of the specified combo box.
object.Items
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISComboBox interface |
Display some information about the specified combo box, including the number and content of its items.
Dim aComboBox
Dim aComboItems
Dim i
Dim aContent
Dim aComboBoxInfo
Set aComboBox = Form.Controls_("cmbInform")
set aComboItems = aComboBox.Items
for i = 0 to aComboItems.Count - 1
aContent = aContent & vbNewLine & "- " & aComboItems.Strings(i)
next 'i
aComboBoxInfo =_
"Caption: " & aComboBox.Caption & vbNewLine &_
"ShortName: " & aComboBox.ShortName & vbNewLine &_
"ComboBox Items Count = " & aComboItems.Count & vbNewLine &_
"ComboBox Items: " & aContent
Profile.MsgBox(aComboBoxInfo) In Profile Client v8 on User Interface Items can be found in .