Image Property (Band Object)

       

Returns or sets a value that specifies which ListImage object in an ImageList control will appear on a Band object of a CoolBar control.

Syntax

object.Image [= index]

The Image property syntax has these parts:

Part Description
object An object expression that evaluates to a Band object.
index An integer or unique string specifying the ListImage object to use with object. The integer is the value of the Index property, the string is the value of the Key property.

Remarks

Before setting the Image property, you must associate an ImageList control with the CoolBar control by setting the CoolBar’s ImageList property to an ImageList control.

At run time, the image contained in the ListImage object specified in the Image property will be displayed on the Band object between the move handle and the caption. The image is not displayed at design time.