Discussion Thread
UniToolbox
Message Thread
The leading control suite for Unicode development in Visual Basic.
Posted in the UniToolbox Forum.
FAQ: The UniCombo's ItemData does not support the value -1
The following demonstrates this issue:
Private Sub Form_Load()
UniCombo1.AddItem "1"
UniCombo1.ItemData(UniCombo1.NewIndex) = 1
UniCombo1.AddItem "0"
UniCombo1.ItemData(UniCombo1.NewIndex) = 0
UniCombo1.AddItem "-1"
UniCombo1.ItemData(UniCombo1.NewIndex) = -1
UniCombo1.AddItem "-2"
UniCombo1.ItemData(UniCombo1.NewIndex) = -2
End Sub
Private Sub UniCombo1_Click()
MsgBox UniCombo1.ItemData(ucbo.ListIndex)
End Sub
This issue is resolved by release 1.0.3.5. The latest version of UniToolbox can be downloaded from our product download page.