Contents



List & Index Extractors

Next

DH_IndexExtractor

A simple module that extracts the index of the selected item in an old-style List Entry type control, so that it can be used as input to modules such as the DH_ControlOverlay module.

List - Connects to the List Entry control.

Index - Outputs the index of the selected item.

For example:

 

Note: Connecting the DH_IndexExtractor's List pin to a the List Out pin of a Patch Mem - List module will not work. Instead, use a DH_ListExtractor connected to the Value pin of the Patch Mem - List module.

 



Won't Work!

 

 


 

  OK!

 

 

 

 

DH_ListExtractor

Performs the same function for blue-background GUI list values that the DH_IndexExtractor does for the old-style List Entry controls. It also has some additional capabilities:

  • It uses the 2-way nature of GUI connections to operate in either direction. The list selection can be changed not only from a sub-control connected to the left-hand List pin, but also when the values of the right-hand List or Index pins are changed.

  • It outputs the text of the selected item.

  • It outputs the entire list as a text string, with list items separated by commas.

List (left) - Connects to any right-hand GUI ("blue-background") list pin.

List (right) - Connects to any left-hand GUI list pin.

Index - Index of the currently selected item, or index of item to select.

Selection (left & right) - Text of the selected item.

List Items (left & right) - List as a comma-delimited text string.

top

Next