Control Listbox Buttons

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 of the selected object.

It resets to the reset value value for controls and to their default values for panels.

clear

Clears the listbox (removes all items)

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.

edition

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

hint

Hit text displayed on mouse over

display bitmaps

You can use a list/combo box to display a list of bitmaps.

activate the items are images option

In the list of items, enter a list of images.

If images are outside the Usine's folder (or outside the package on OSX), enter absolute paths for image files.

Inside the folder or package, no path necessary: list of images

Outside the folder or package, use absolute paths: list of images

example for a combobox

example for a listbox

See also

version 4.1.201021 GWPD birthday

Edit All Pages