Adds a ListImage object to a ListImages collection and returns a reference to the created object.
Add(Optional ByVal Index As Long, Optional ByVal Key As String, Optional ByVal Picture As Variant) As ListImage |
[ListImage =] SmartUI.ListImages.Add([Index],[Key],[Picture])
Parameter | Type | Description |
---|---|---|
Index | Long | Optional - Value that specifies the position to insert the SmartItem. If you do not specify an index, Add appends the SmartItem to the end of the SmartItems collection. |
Key | String | Optional - Unique string expression that can be used to access a member of the collection. |
Picture | Variant | Optional |
Clear, Remove, ExternalImageList, Key, Exists, Picture, ListImage