CCombo.add

Adds the argument to the receiver's list at the given zero-relative index. <p> Note: To add an item at the end of the list, use the result of calling <code>getItemCount()</code> as the index or use <code>add(String)</code>. </p>

@param string the new item @param index the index for the item

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list (inclusive)</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see #add(String)

  1. void add(String string)
  2. void add(String string, int index)
    class CCombo
    void
    add
    (
    String string
    ,
    int index
    )

Meta