Contents



Getting Started (Cont'd)

Next
 

Simple Panel Selection

You can use sub-controls to manage screen space in your VST design by providing selectable panels. Notice that Containers now have a Bool type pin named "Controls on Parent". When this pin is set to TRUE, any controls that are visible in the container become visible in the container's parent panel view.

The technique for making selectable panels is to build each panel inside a container, lay out each container's panel view as it should appear when it is the selected panel, and control their visibility by setting only one of their "Controls on Parent" pins to TRUE at a time.

A List to Bools module does just what is needed.

It will autoduplicate as many Bool pins as you need, and create a list in which each container's "Controls on Parent" pin is a selection.

You can change the names of the list items in the List to Bools' Properties. When one of the list items is selected, the corresponding Bool value is set to TRUE, and all others are set to FALSE. This makes the selected container's panel visible on the parent panel.
 

Limiting List Selection

Sub-controls greatly simplify the task of limiting list selection. When you connect a Bools to List module to a GUI list connection that is connected to a list type input, it automatically "sprouts" a left-side Bool connection for each item in the list. To choose the items to be offered for selection, and the order in which they will be presented, just connect the ones you want to a List to Bools, in the desired order.

 

Adding a File Open Button

It's now possible to use custom graphics, rather than a Text Entry, to provide a File Open dialog, using a Patch Mem - Text:


Linking to a Web Site

The System Command2 sub-control can perform a variety of functions. To create a Web site link with it, select open as the Command, and enter the complete URL as the Filename.






 

Note: You need to use the http:// prefix for this to work:

http://www.synthedit.com

not just www.synthedit.com

 

top

Next