gui.setComboBoxItemUserData
Associates an item with a value/data.
Prototype
bOk = gui.setComboBoxItemUserData ( hComboBoxItem, vValue )
Parameters
hComboBoxItem - valid comboBox item handle
vValue - number, string, constant...
Return values
bOk - true on success
Sample
local hItem = gui.appendComboBoxItem ( hComponent, "Application" ) gui.setComboBoxItemUserData ( hItem, kOutputTypeApplication )
Available since ShiVa 2.0