gui.getComboBoxSelectedItemRow

Returns the position of an item within a comboBox.

Prototype

  1. nRow = gui.getComboBoxSelectedItemRow ( hComponent )

Description

Returns the position of an item within a comboBox.


Parameters

hComponent - valid GUI comboBox item handle


Return values

nRow - index number 1..n


Sample

  1. local nFindOutputIndex = gui.getComboBoxSelectedItemRow ( gui.getComponent( "Find.combo.options.result" ) )

Available since ShiVa 2.0