selectItem(at:)
Selects the pop-up list row at the given index.
Declaration
func selectItem(at index: Int)Parameters
- index:
The index of the item to select in the pop-up list.
Discussion
Posts an selectionDidChangeNotification to the default notification center if the selection does in fact change. Note that this method does not alter the contents of the combo box’s text field—see Setting the Combo Box’s Value for more information.