gui.getComboBoxSelectedItemText
Returns the text of a selected comboBox item.
Prototype
sText = gui.getComboBoxSelectedItemText ( hComponent )
Description
Returns the text of a selected comboBox item.
Parameters
hComponent - valid GUI component handle
Return values
sText - text string
Sample
function setupFindDialog ( hView ) if ( hView ) then local hComponent = gui.getComponentFromView ( hView, "Find.combo.options.result" ) if ( hComponent ) then local sPreviousOptionsResult = gui.getComboBoxSelectedItemText ( hComponent ) -- etc.
Available since ShiVa 2.0