Skip to content

ItemImage - AbstractTreeView

Gets and sets the index of the regular image in the control's ImageList

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
hItem Handle The item handle

Syntax

Property Integer ItemImage
Access Type Syntax
Read Access: Get ItemImage to IntegerVariable
Write Access: Set ItemImage to IntegerVariable/Value

Description

Each item in the control can have two images associated with it: a regular image for the item, and a different image for whenever the item is the current item. The ItemImage property gets and sets the index of the regular image in the control's cImageList. This may also be set using the Get AddTreeItem method (compare: ItemSelectedImage property).