property Group.Item (Index as Variant) as Item
Returns a specific Item from the collection.

TypeDescription
Index as Variant A long expression that indicates the index of the item, or a string expression that indicates the item's caption 
Item An Item object being accessed.

Use the Item property to access items of the group. Use the Count property to get the number of items in the group. Use the ItemByPos to access items by position. Use the ItemHeight property to specify the height for all items in the group. Use the Caption property to specify the caption of the item. Use the Visible property to specify whether an item is visible or hidden.

The following VB sample enumerates the items in the group:

With ListBar1.Groups(0)
    Dim i As Long
    For i = 0 To .Count - 1
        Debug.Print .Item(i).Caption
    Next
End With

The following C++ sample enumerates the items in the group:

CGroup group = m_listbar.GetGroups().GetItem( COleVariant( long(0) ) );
for ( long i = 0; i < group.GetCount(); i++ )
{
	CItem item = group.GetItem( COleVariant( long(i) ) );
	OutputDebugString( item.GetCaption() );
}

The following VB.NET sample enumerates the items in the group:

With AxListBar1.Groups(0)
    Dim i As Integer
    For i = 0 To .Count - 1
        Debug.WriteLine(.Item(i).Caption())
    Next
End With

The following C# sample enumerates the items in the group:

EXLISTBARLib.Group group = axListBar1.Groups[0];
for (int i = 0; i < group.Count; i++)
	System.Diagnostics.Debug.WriteLine(group[i].Caption);

The following VFP sample enumerates the items in the group:

With thisform.ListBar1.Groups(0)
    local i
    For i = 0 To .Count - 1
        wait window nowait .Item(i).Caption
    Next
EndWith