Image

[property icon] Image

Image shown when item is normal

Runtime-only Integer SYM index property

Applies to: TreeItem

Introduced in KCML version 5.02


>

Image

This property is used to specify the image used by items within a tree control. If no image is specified then the standard file and folder icons are used. Note that when an item is selected the image specified by the OpenImage property is used. Therefore if you set Image you must also set OpenImage otherwise the controls default images will be used when the user selects the item.

.treeControl1.Item(Count).Image = &.CD
.treeControl1.Item(Count).OpenImage = &.CD

See also

TreeItem methods, properties and events.