Syntax
AddDropDownItem BookmarkName$, ItemText$
Remarks
Adds an item to a drop-down form field. A drop-down form field can hold as many as 25 items; if you attempt to add more than 25 items, an error occurs.
Argument | Explanation |
BookmarkName$ | The name of the bookmark that marks the drop-down form field. If you specify a bookmark that does not mark a drop-down form field, an error occurs. |
ItemText$ | The item to add to the drop-down form field. |
Example
This example adds three items to the drop-down form field marked by the bookmark "Dropdown1":
AddDropDownItem "Dropdown1", "Red" AddDropDownItem "Dropdown1", "Blue" AddDropDownItem "Dropdown1", "Green"
See Also
DropDownFormField, RemoveAllDropDownItems, RemoveDropDownItem