Choice Lists

 

The purpose of a choice list is to allow the user to set conditions according to a selected choice, which will possess an associated integer number for use internally in conditional statements.

Adding Choice Lists

To add a new choice to a category page, select the category in the Categories tree and then select Choice within the Add Parameter Field drop list button in the tool bar:

 

 

A new input field will appear:  

 

Changing Choice List Properties

Choice list properties can be adjusted directly on the category page.  Left-click on the [+] box to expand the choice list tree node.

 

 

The properties available are described as follows:

Adding Choices to a Choice List

Choice lists are constructed using the Drop List Editor.  To open the editor, left-click on the [+] box to expand the choice list tree node, select the Choice List field and then left-click the [...] button.

 

 

The Drop List Editor will appear.  To add choices to the list, click the Add button.

 

 

The contents of any choice in the list can be modified in the editor window to the right:  Within the Members list, left-click on the choice name to select it.  To edit the properties of the selected choice, left-click either the Description and/or the Value field.

 

 

Note that when adding choices to the choice box, the most important thing to remember is that a unique integer must be assigned to each entry in the Members choice list.  This is accomplished by modifying the Value field as described above.  It is this assigned number that will be associated with the Symbol name of this choice list.

 

To delete a choice in the choice list, left-click on a choice within the Members list to select it.  Click the Remove button.

Ordering Choices in a Choice List

Once multiple choices exist in a list, they may be re-ordered as follows:  Select the desired choice from the Members list.  Click the up or down arrows to move it up and down the list.