Once you add a combo box control to the front panel, add or modify the items in the control in the Properties dialog box.

To edit items in a combo box control, complete the following steps.

  1. Right-click the control and select Edit Items....
    The Edit Items page of the Properties dialog box appears.
  2. Complete one or more of the following actions:
    OptionDescription
    Add an item
    • Windows: Press Insert.
    • macOS: Click the Insert button.
    Delete an item Select the item and press Delete.
    Edit the name of an item Double-click an item and enter the new name.
    Change the order of items
    • Drag and drop items into the new order.
    • Select items and use the Move Up and Move Down buttons.
    Create a separator Enter a hyphen (-) in an empty cell.

    A separator is a thin bar that separates items in the menu of a combo box control.

    Tip You can drag and drop or delete multiple items at once by pressing and holding Ctrl, selecting the items, and completing the desired action. (macOS) Press Command. (Linux) Press Alt.
  3. Click OK.

You also can use the Strings [] property or the Strings And Values [] property to edit strings in combo boxes programmatically.