10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Treeview FieldsIf you look at the script for the frame tree_example_1, you can see how thebuild_simple_tree procedure uses the AddNode method to build the tree. Fixedtrees are not often needed in applications, however. In most cases, thecontents of the tree depend on the data available at runtime, and you mustbuild the tree dynamically.Example 2—Treeview:This example shows how you can build a tree dynamically. To use thisexample, do the following:1. Select Treeview Example 2 on the Run the Examples frame.Two windows are displayed. The first is the Sample Frame:Working with List Views and Tree Views 271

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!