Choice Fields

 

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 expression statements.

Changing Choice Field Properties

Choice field properties are adjusted directly in the property form.  Simply left-click on the choice field to view its properties and content.

 

 

Choice Field Property Form

 

Appearance:

Behaviour:

Data:

Help:

Append

Overwrite

Adding Choices to a Choice Field

Choice fields are constructed using the Drop List Editor.  To open the editor, left-click on the '...' button in the property form Edit Items property.

 

 

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 property of this choice field.

 

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 Field

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.