TreeView widget usage example.

   There is a special abstract class "DM_TREE_ITEM" that can be mapped to
the TreeView widget in the Display Machine Builder. This class tree deferred
features "count", "item" and "text" that should be redefined. You can
display you custom tree-like class inherited form the "DM_TREE_ITEM" class.

Files:

DMTREE.E - deferred class DM_TREE_ITEM
   Predefined class for TreeView widget.

TREE.E - class TREE_ITEM (inherit DM_TREE_ITEM)
   Example of custom tree class (tree children : ARRAY [TREE_ITEM]).

MAIN.E - class MAIN
   Initialize tree and call display.

   If your tree object is rather big we recommend to clear AutoUpdate flag
from the corresponding TreeView widget and update it manually.


