Xceed SmartUI Documentation
Methods / Add
In This Topic
    Add
    In This Topic

    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

    Syntax

    [ListImage =] SmartUI.ListImages.Add([Index],[Key],[Picture])

    Parameters

    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

    Applies To

    ListImages

    See Also

    Clear, Remove, ExternalImageList, Key, Exists, Picture, ListImage