Tree Design Interface - OnAdd Method

Executed when an item is added

Member of Tree Design Interface (PRIM_TREE.ITreeDesign)


Name Type Data Type Description
TreeItem *Input PRIM_TREE.TreeItem Reference to the newly created item


The OnAdd method is executed when ADD_ENTRY is used to add an entry to the containing Tree.
Field values for fields in a *ListFields GROUP_BY will have been mapped in.


Redefine the method in the design reusable part
Mthroutine Name(OnAdd) Options(*Redefine)
   * User code here

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020