Unicode Controls & Classes for VB6 - Version 4

ctlUniListBoxXP.AddItem Function

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

Syntax
Public Function AddItem (ByVal s As String, _
Optional ByVal Index As Long = -1, _
Optional ByVal vItemTag As Variant = "", _
Optional ByVal bItemChecked As Boolean = False) 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
Optional ByVal bItemChecked As Boolean = False Is the item checked?
Remarks