NetAlive Documentation

List Box Widget

Inputs 8-11: data inputs interpretation varies).
Outputs 2-4: data outputs (all the same).
Input 7: address (standard interpretation).

Parses input into lines and displays it as a list. Transmits user-selected lines. Variants for single and multiple selection. Real-time variant transmits every time the selection changes; others only on a major event.

Behavior

Inputs get concatenated with implied synchronization into a single input value. However, "Asynchronous" simply routes input messages to an input value.

"Extended behavior" alters operation as follows: 10 o'clock input adds input values to the current contents of the list box, 8 o'clock input finds input values in the list box's content and deletes them, and 9 o'clock input values set the list box's content.

Produces an output upon focus loss or double-click (firing criteria). The output value is the selected line or lines of the last input value. If fired before there is an input value, the output value is the selected line of the internal data. (Does the output end in a newline?)

Selection state goes to "all unselected" when input arrives.

Appearance

Displays a list box on the screen.

"Use heading as caption or status message" places the task's caption to the upper-left of the button as a heading.

The list box contains the internal data initially and then input data as it arrives. Data gets displayed by parsing input into lines.

Variants

List box (single select)

List box (real time)

Field: Input taken to be a series of tab-separated fields. Displays the specified field. See field tutorial.

Interactive Demonstration

Press to invoke listbox.net.

Use the mouse to select and deselect entries in the top list box (multiple select). Note that there is no change in output during selection. "Defocus" by typing tab or clicking the mouse outside the top list box. Note that the selected contents of the list box appears to the right.

Repeat for the middle list box (single select). Observe the same behavior except that the list box only permits a single entry to be selected.

Repeat for the bottom list box (real time). Observe that the output on the right tracks the selection immediately.

Press to invoke listbox2.net.

Add to the contents of the add/delete list box by typing into the "Add to list" field. Delete an entry from the list box by selecting it and selecting "Remove selected entry."


[NetAlive Documentation Home Page][NetAlive Home Page]