Unicode Controls & Classes for VB6 - Version 4

ctlUniComboBoxXP.AddItem Function

Adds a new item in the combobox list and returns the index

Syntax
Public Function AddItem (ByVal s As String, _
Optional ByVal Index As Long = -1, _
Optional ByVal vItemTag As Variant = "") As Long
Parameters
Parameter Description
ByVal s As String The value to add
Optional ByVal Index As Long = -1 The index to use
Optional ByVal vItemTag As Variant = "" The custom tag for the element
Remarks