Tree Design Interface - OnAdd Method

Executed when an item is added

Member of Tree Design Interface (PRIM_TREE.ITreeDesign)

Parameters

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

Details

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.

Example

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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020