ImageListObj Property

Applies To

Description

The ImageListObj property is a simple character vector or a ref, or a vector of character vectors or refs that specifies ImageList objects that are associated with an object.

For a ComboEx or TreeView object, the ImageListObj property specifies the name of, or ref to, a single ImageList object that contains a set of images to be displayed alongside its Items. The image(s) displayed by a particular item in its normal (unselected) and selected states are specified by the corresponding element of the ImageIndex and SelImageIndex properties respectively.

For CoolBar, Menu, and TabControl objects, the ImageListObj property specifies the name of, or ref to, a single ImageList object that contains a set of images for its CoolBand, MenuItem, and TabButton children respectively.

For a ToolControl, ImageListObj may specify up to three ImageList objects that correspond to the three different states, normal, highlighted (hot) and inactive, of its ToolButton children.

In all these cases, individual images are mapped to the child objects by their ImageIndex property.

For a ListView either one or two ImageList objects may be specified. The first ImageList contains the large icon set of images. the second contains the small icon set. The set that is used is determined by the value of the View property. The mapping between the set of images in the ImageList and items in the object is determined by the ImageIndex property.