Download AccessWare User Guide - John J. Jacobs
Transcript
Building an AccessWare Graphical User Interface Displaying Trees in AccessWare Figure 3-7 Example of a QLIST with a Simple Tree The list contents file for the tree shown in the preceding figure is as follows: 1 2 3 4 5 root child1 leaf1 leaf2 child2 0 1 2 2 1 R R R R R 1 1 1 1 1 0 0 0 0 0 11 11 11 11 11 1 1 1 1 1 4 4 4 4 4 Please note: • Each in field in the list contents file must be specified on one line and separated by TAB spaces. • The parent-child relationship is defined in the third column, this contains the node reference number of the parent. • The Node access flag, shown as a square in the preceding example, serves two purposes: • The shape of the node indicates whether there are further nodes in the tree, but currently not displayed because they have been rendered invisible (the flag changes to a triangle to indicate that there are unseen nodes below this node). • The Nodes can be color coded to set some status associated with the application. • The Class field is not currently used, but must included. Use of Features of AccessWare Lists with Trees The features of AccessWare lists can be used with trees in a similar way to text based lists. Horizontal and vertical scrollbars can be defined, they act upon the1fs AccessWare User Guide 3-33