gui.getComboBoxItemData
Returns the data associated with a comboBox item.
Prototype
vValue = gui.getComboBoxItemData ( hComboBoxItem, kDataRole )
Description
If you need to store more data than we planned for in the predefined dataRole constants, you can add your own ones with +1, +2, etc.
Parameters
hComboBoxItem - valic comboBox item handle
kDataRole - predefined dataRole constant
Return values
vValue - associated data
Sample
local hIcon = gui.getComboBoxItemData ( gui.getComboBoxSelectedItem ( hComboBox ), gui.kDataRoleUser + 1 )
Available since ShiVa 2.0