gui.insertComboBoxItem

Inserts a single new item into a comboBox.

Prototype

  1. hComboBoxItem = gui.insertComboBoxItem ( hComponent, nIndex )

Description

Inserts a new item into a comboBox at nIndex, all subsequent items will get moved to their current index +1.


Parameters

hComponent - valid GUI component handle
nIndex - index number 1..nCount


Return values

hComboBoxItem - handle to the newly inserted item


Available since ShiVa 2.0