6 15 Lists Tree Views Grids and Graphs

Visual LANSA

6.15 Lists, Tree Views, Grids and Graphs

In Visual LANSA there are several controls which offer different ways of retrieving, displaying and maintaining list-type information. All lists show the values for one or more LANSA fields.

Most of these controls are straightforward lists or tables: list box, list view, combo box and grid. Tree views are a special kind of list which show hierarchical information. Two others, graphs and multi-line edit boxes, do not appear to be lists to the user, but they operate the same way as lists.

Essentially, all list type components are containers for fields. To create a list, you first add the list component to your form and then you add to it the fields you want displayed. Every field you add becomes a column in the list.

6.15.1 Combo Box

6.15.2 Grid

6.15.3 List Box

6.15.4 Tree View

6.15.5 List View

6.15.6 Defining a List-Type Component

6.15.7 Filling a List-Type Component

6.15.8 Working with Items in Lists

Ý 6. Creating Applications Using Components