ImageComboBox-AddString

Function Name dcl-ImageComboBox-AddString
Syntax   (dcl-ImageComboBox-AddString <CONTROL> NewItem [as String] ImageIndex [as Integer] {SelectedImageIndex [as Integer]} {Indent [as Integer]} {Index [as Integer]})
Return Type Long
Applies To Image Combo Box

This method appends or inserts a new item into the combo box list. ImageIndex and SelectedImageIndex are the images to display when the item is unselected or selected, respectively. Indent is the distance (in pixels) to indent the item from the edge. Index is the location where the new item is inserted. If Index is not specified, the item is appended. The return value is the index (zero based) of the new item.