Onetastic Macro Documentation >
>
>
DialogBox_AddDropDown DialogBox_AddDropDown
Adds a drop down list box to a dialog box.
Syntax
void DialogBox_AddDropDown(
DialogBox dialogBox,
String label,
String name,
String initialValue,
Array<String> possibleValues)
Parameters
- DialogBox dialogBox
- The dialog box to add the drop down list box to.
- String label
- A label for the drop down list box.
- String name
- Name of the drop down list box. The value of the drop down list box will be stored dialogBox.controls[name] after the dialog is displayed using DialogBox_Show function.
- String initialValue
- The initial selected value of the drop down list box.
- Array<String> possibleValues
- The values to display in the drop down list box.
|