Tree Design Interface - OnItemImageChanged Method

Executed when the item Image property is modified

Member of Tree Design Interface (PRIM_TREE.ITreeDesign)

Parameters

Name

Type

Data Type

Description

TreeItem

*Input

PRIM_TREE.TreeItem

Reference to the item whose Image has been set

Details

The OnItemImageChanged method is executed whenever a the image property of the list item is set.

This allows for a simple handling of images within the list and mitigates the need for user defined features.

Example

Redefine the method in the design reusable part.

     Mthroutine Name(OnItemImageChanged) Options(*Redefine) 
        #Image.Image <= #BookItem.Image *As #Prim_bmp 
     Endroutine


See also

All Component Classes

Technical Reference