ENABLE Reference Manual
ENABLE ATTRIBUTES
TREE Attribute
TREE Attribute
The TREE attribute associates a box, or set of boxes, with an
application. It specifies a hierarchical relationship between
the boxes. Based on this logical structure, the application
determines the access path to records for display within a
child box. The syntax of the TREE attribute is:
-----------------------------------------------------------------
| |
| TREE ( <level> <box-name> |
| |
| [ <level> <box-name> <link-optional-clause> ] ... ) |
| |
| NOTE: APPL must be the object type in effect when you |
| supply a value for this application attribute. |
| |
| <level> |
| |
| is a positive integer from 1 to 50 that indicates the |
| hierarchical position of the <box-name> it preceeds. |
| |
| The first box must have the lowest <level>. Subsequent |
| boxes must have higher level numbers. These level numbers |
| need not be consecutive. |
| |
| A child box must have a higher <level> than the parent |
| associated with it. All child boxes associated with the |
| same parent must have the same <level>. |
| |
| <box-name> |
| |
| is the name of a box that must appear in the object table |
| when the application is added. For single-file |
| applications, this name may be supplied at the time the |
| application is generated. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ---> |
-----------------------------------------------------------------
4-71