Control Listbox

Displays a list of items as a list or a combo box.

list box

list box button

combo box

Each items is entered on a separate line, for example

A
B
C
D

In this case, the output value is equal to the selected item order starting by zero.

  • if A selected then out = 0
  • if B selected then out = 1
  • if C selected then out = 2
  • if D selected then out = 3
  • etc

But you can also set a particular value for each item using the following syntax:

A=23
B=65
C=12
D=7

In this case

  • if A selected then out = 23
  • if B selected then out = 65
  • if C selected then out = 12
  • if D selected then out = 7

This module appears in sub-patches as inlet or outlet.

Settings

caption

Displayed caption of the object. Click to enter a new name.

text

Current text of the selected item.

comma text

Input to set the items list with a comma-text string.

previous

Selects the previous item in the list.

next

Selects the next item in the list.

randomize

Randomizes values or positions.

reset value

Reset value applies when the reset button is pressed or when the user does a [ctrl+click].

reset

Resets all the values to the reset val value.

clear

Clears the listbox (removes all items)

edition

Current list. Click to edit, use the OK button to validate.

num elements

Gives the number of elements in the list.

saved in preset

Determines if parameters of this object are saved in the preset-panel.

fade preset

Parameters of the this object can cross faded when you recall a preset in the grid.

Optional setting, does not appear on all objects.

can be randomized

When ON, this object will be randomized when using the randomize command of its patch.

can be reset

When ON, this object will be reseted to its default value when using the reset command of its patch.

See also

Edit All Pages