UserInterface.AddMultiChoice(String, String, String, Variable) Method

Top 

Description

Adds a Multi-Choice element to the UserInterface.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

UserInterface.AddMultiChoice(

String valueDestination,


String elementLabel,


String defaultValue,


Variable doUseRadioButtons)

 

 

Arguments

valueDestination


Description:

A String that represents either an object or a writeable property of an object where the value will be stored.

 

 

elementLabel


Description:

The label shown to the left of the input element.

 

 

defaultValue


Description:

The default Choice value to use. If it doesn't match one of the choices the first choice will be the default.

 

 

doUseRadioButtons


Description:

Determines whether the user will make their choice through a drop down box or a set of radio buttons.

Valid Values:

Value

Label

0

false

1

true

 

 

 

 

Return Value

Type:

number

 

 

Returns an ID for use in adding Multi-Choice items.

 

Syntax

myVariable1 = myUserInterface1.AddMultiChoice(myString1, myString2, myString3, myVariable2);

 

 

See also

UserInterface Object

Custom User Interface Guide