CCombo.indexOf

Searches the receiver's list starting at the given, zero-relative index until an item is found that is equal to the argument, and returns the index of that item. If no item is found or the starting index is out of range, returns -1.

@param string the search item @param start the zero-relative index at which to begin the search @return the index of the item

@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>

  1. int indexOf(String string)
  2. int indexOf(String string, int start)
    class CCombo
    int
    indexOf
    (
    String string
    ,
    int start
    )

Meta