Auto-Tree Views

Creating a tree-style display using Gen GUI can be hard since you have to make use of OCX controls, together with the bulky coding that supports the OCX.

As an alternative, IETeGUI offers a simple approach to tree displays utilising a standard Gen list box and using encoded data to instruct eGUI to display the data in a structured format.

Essentially, one of the columns of the list box provides the encoded data that describes the indentation, the bitmap involved in the tree node and some other information to help eGUI format the display. Logic to expand and contract the branches of the tree are handled by the action diagram. A GUI event is triggered each time a '+' or '-' is clicked on to expand or contract a node. Action Diagram functions are provided so that you can determine the ROW and COLUMN clicked for the most recent '+' or '-' action.