Contents



DH_ListBox

Next

Function:

The DH_ListBox is a GUI control for selecting from a list. Font and color scheme can be chosen to coordinate with your design. The display area can be set to any size. Vertical scrollbars will appear depending on the size of the display area and the length of the list.

The module can be used like other list selection Sub-Controls, by connecting its right-hand side List pin directly to a left-hand side GUI list pin (blue background), or to a List Entry type input through a Patch Mem - List2 module.

In addition to transmitting the selection via the List pin, the module outputs the index and text values of the selected item.



Left-hand side pins:

Bkgd RGB - RGB value of background color.

Text RGB   -  RGB value of text color.

Font           - List of 11 widely distributed fonts.

Font Size    - List of selected font sizes.

Selection   - Text of the selected item

Border       - Controls whether list box will have a 3-dimensional border.

Right Align Text - Aligns the right side of the text with the right side of the list box.

Right-hand side pins:

List            - Connection to a List type GUI pin, or Patch Mem - List module

Index         - Index of the selected item.

Selection   - Text of the selected item

Notes:

If a list item has the form
Item Name =nn, where nn is an index number,
that index is output, rather than the ordinal position of the item in the list.

The Border and Right Align Text pins affect only the style with which the list box is initially created. Therefore, changes do not appear until the next time the window is closed and reopened.

top

Next