OwnerDrawItems property (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool OwnerDrawItems

Delphi Syntax

OwnerDrawItems: Boolean

Overview

Refer to Using the Image List Control.

Remarks

Enables or disables custom/user-defined painting of the ImageList Control's items. Possible values are:

Setting

Description

TRUE

The user is responsible for drawing each ImageList Control item when the OwnerDrawItem event occurs.

FALSE

The toolkit is responsible for drawing each ImageList Control item.

This property must be set to TRUE in order for the OwnerDrawItem event to occur.

See Also

Elements:

OwnerDrawItem event, Item property

Topics:

Raster Images: Displaying Images