gui.setComboBoxItemText
Assigns a text to a comboBox item.
Prototype
bOk = gui.setComboBoxItemText ( hComboBoxItem, sText )
Description
Assigns a text to a comboBox item.
Parameters
hComboBoxItem - valid comboBox item handle
sText - text string
Return values
bOk - true on success.
Sample
for i = 1, #tGames do local hItem = tItems[i] if ( hItem ) then gui.setComboBoxItemText ( hItem, tGameNames[i] ) end end
Available since ShiVa 2.0