Omnis Technical Note TNNO0010

Tree lists - displaying nodes with a common parent

For Omnis Studio
By Omnis Technical Support

How do I display a list of all the nodes with a common parent?

An example library is provided with code to show how to display a list of all the nodes with a common parent. The user can click on any node, the code will find the parent and then create a list of the children of that parent node. This illustrates $nodeparent and $nextnode, as well as the use of the reference returned by OMNIS of the node that has been clicked on, pNodeItem.

Download treenodes.zip containing the Studio library.