ImageList Property (ActiveX Controls)

       

Returns or sets the ImageList control, if any, that is associated with another control.

Syntax

object.ImageList [= imagelist]

The ImageList property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
imagelist An object reference that specifies which ImageList control to use.

Remarks

For a control to use the ImageList property, you must place an ImageList control on the form. Then, at design time, you can set the ImageList property in the associated control's Property Pages dialog box. To associate an ImageList with a control at run time, set the control's ImageList property to the ImageList control you want to use, as in this example:

Set TabStrip1.ImageList = ImageList1