ComboItem Object

               

A ComboItem object is an item in the list portion of an ImageCombo control. ComboItem objects can display text and/or pictures, and they can appear indented from other items in the list.

Syntax

object.ComboItem

The ComboItem object syntax has these parts:

Part Description
object An object expression that evaluates to an ImageCombo control.

Remarks

The ComboItem object and its corresponding ComboItems collection contain all the items that appear in the list portion of the ImageCombo control. Because list items are stored in a collection, each item can have multiple properties associated with it. This makes the task of assigning and managing the images associated with list items much easier.

Because the items in the list are objects in a collection, certain properties found in the standard combo box (such as List, ListIndex, and ItemData) are no longer required.

With a ComboItem object you can:

The ImageCombo control does not initially contain any ComboItem objects. You must add using the Add method.