IImageButtonLook.ImageIndex

Syntax

ImageIndex: Integer;

Description

The ImageIndex property determines index of the image that should be displayed on the button near the text.

Comments

The ImageList (or GlobalImageList) component specified in the Images property is the source of images.

The ImageIndex property is a combo box that contains all loaded images.

If button does not contain images, the ImageIndex property is set to -1.

Example

If the ImageLayout property is set to GlyphRight, the button looks like follows: .

See also:

IImageButtonLook