TreeView creation process
A TreeView DataWindow has multiple levels, each of which is
a node in the TreeView. You use the TreeView wizard to create a
TreeView DataWindow, but the wizard produces a DataWindow that includes
only the top level of the TreeView.
Creating a complete TreeView DataWindow involves three steps:
-
Using the TreeView DataWindow wizard
to create the top level (level 1) of the TreeView DataWindow. -
Using the DataWindow painter to add additional levels to
the TreeView DataWindow. -
Setting TreeView DataWindow properties to customize
the TreeView style.
For information about adding and deleting TreeView levels,
see “Adding and deleting TreeView
levels”. For information about
setting properties in the DataWindow painter, see “Setting properties for the
TreeView DataWindow”.
You can use TreeView DataWindow methods to expand and collapse
TreeView nodes, and you can write code for TreeView DataWindow events
that are fired when a node is expanded or collapsed. For detailed
information about using TreeView DataWindow properties, methods,
and events, see the DataWindow Reference or
the online Help.