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 combobox that contains all loaded images.

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

Example

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

See also:

IImageButtonLook