Skip to content

ItemSelectedImage - AbstractTreeView

Gets and sets the index of the selected image in the control's ImageList that you associated with the item

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

Parameters

Parameter Type Description
hItem Handle The item handle

Syntax

Property Integer ItemSelectedImage
Access Type Syntax
Read Access: Get ItemSelectedImage to IntegerVariable
Write Access: Set ItemSelectedImage 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 ItemSelectedImage property gets and sets the index of the selected image in the control's cImageList that you associated with the item. This may also be set using the Get AddTreeItem method (compare: ItemImage property).