RComboBox.FindByData


public function FindByData

Prototype:

public function FindByData(data)

Parameters

data
the data to look for in the combo box items.

Description:

This function gets the index of the data in the combo box items.
Warning: this function is applicable only on combo boxes with one column.

Return value:

Returns -1 if the combo box contains no item matching data, or the index of the row if it does.