Release 10.1A: OpenEdge Development:
Progress Dynamics Basic Development

> ## Defining the TreeView window

> Now you are ready to assemble these nodes into a completed dynamic TreeView window. Figure 9–4 shows the various styles of trees that you can build.

> Figure 9–4: Examples of TreeView styles

> In the example, you will use the style that shows all the available elements (Pictures and Text with Tree Lines and Plus/Minus).

> | To build a TreeView window:

> 1. From the AppBuilder, select Build Dynamic TreeView Builder, as shown:

> 2. Click the New button.

> 3. Choose the Lookup button in the Create from existing dynamic TreeView section, as shown:

> 4. Choose `rytemdyntree` and click the Select button. This is the standard template for dynamic TreeViews.

> 5. Click Create.

> 6. Type a Name for the new TreeView, add a Description, and specify the EMP Product Module.

> 7. Type a Window Title and specify Department for the Root Node Code, as shown:

> 8. Click Save.

> Note: The Type field is provided for specifying custom classes that extend the `TreeView` class. If you create an extended class, make sure the Layout Supported flag is set to `YES` in the Object Type maintenance viewer.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095