InputList(Prompt: String, [Title: String, DefaultItem: String AllowEmpty: Boolean, UseExactMatch: Boolean, Item1, ... ]): String
Prompts the User to select one item from a list of items from a combo box. Returns the item selected or Null if none selected.
The InputList function syntax has these named arguments:
Parameter |
Description |
Prompt |
Required. String expression displayed as the message in the dialog box. The maximum length of prompt is approximately 40 characters, depending on the width of the characters used. |
Title |
Optional. String expression displayed in the title bar of the dialog box. If you omit title, the application name is placed in the title bar. |
Default Item |
Optional, the item to default the input list to. Will be displayed selected in the Input List. |
Allow Empty |
Optional, defaults to true. The combo box can be emptied after a value has been selected. |
Use Exact Match |
Optional, defaults to true. The combo box can accept and return values that are not in the list. |
Item1 to Item n |
The list values for the combo box. |
See also Scripted Form InputList method and Input Grid InputList method.