Images Property (AImageList)

Returns a specific image member of the object either by index or by name.

Syntax

[ lImageListImage = ] Object.Images ( vKey )

The Images property syntax has the following parts:

 

Name

Type

Description

Object

AImageList

AImageList control

vKey

Variant

An integer specifying the index of the currently selected item in the object.

lImageListImage

AImageListImage

A specific image member of the object either by index or by name.

Example

The following statement returns the second AImageListImage:

imgl1.Images(1)

Applies to

AImageList

See Also

hImageList