![]() | Type | Description | ||
| Group as Group | A Group object where the newly item is inserted | |||
| Item as HITEM | A long expression that indicates the handle of the item that's inserted to the Items collection. |
The following sample changes the bolds the first column in the group, only if the group contains multiple columns:
Private Sub ExplorerTree1_AddItem(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM)
If (Group.Columns.Count > 1) Then
With Group.Items
.CellBold(Item, 0) = True
End With
End If
End Sub