Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  ui classes and methods  >  ui.Combobox methods  >  ui.Combobox.getIndexOf()

ui.Combobox.GetIndexOf()

The GetIndexOf() method is used to return the position of the item in list. The method needs an argument specifying the item name and returns 0 if the item with the specified name does not exist:

 

CALL cbx.GetIndexOf("item1") RETURNING i