Text List objects display text in a grid. The grid can be simple or complicated, but it always consists of text in rows (and possibly columns). This illustration shows three examples, from very simple to quite complex. (If you need even more flexibility than this, check out the Matrix Object.)

Creating a Basic Text List Object

It takes a minimum of three steps to create and set up a simple Text List object.

  1. Create the object (by dragging it from the Object Library).
  2. Set up the formula to define the data to be listed, with one item per line.
  3. Specify the field or variable that the list selection will be linked to.

This movie illustrates these three steps, then shows the Text List object in use.

By the way, in addition to creating a Text List object manually like this, you can also create one using a template using the Text List Constructor. This is often the fastest way to create a Text List object.

Text List Formula

The Formula panel is used to specify the list of data items that will appear in the object. In the example above, this was a fixed list. Each line generated by the formula becomes a row.

In this example the list is fixed and unchanging, but that is unusual. In most applications the formula will be set up to get the text from a variable, a field, or thru a more complex calculation. This example uses the listfiles( function to display a scrollable list of all the applications in the computer’s main Applications folder.

It’s very common to set up a formula to use a database as the source of the data for the list. See Text List Database Integration for details on how to do this.

Text List Selected Item

You must set up a field or variable that will be linked to the selected value in the list. (There is one exception – no variable is needed if you are using the Database Navigator option, see Text List Database Integration.) In this example, selected value is linked to a fileglobal variable named targetApplication.

Whenever an item in this list is clicked, the value in the targetApplication variable is updated. To illustrate this, a Text Display Object that displays the targetApplication variable has been added to this form. As different items are clicked, they appear in the Text Display Object.

To learn more about selecting items in a Text List, including using the keyboard for selection and selecting multiple items, see Text List Selection.

Learn More

This page just scratches the surface of the capabilities of a Text List object. To learn more see these topics:

There also a detailed training video covering these objects:

See Also


10.0NewNew in this version.