Retrieves or sets a value that indicates whether the item should appear in italic.
Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle that uses italic font attribute. | |||
Boolean | A boolean expression that indicates whether the item should appear in italic. |
To change the italic attribute for a cell you can call CellItalic property.
The following sample applies an italic font attribute to the selected item in the first group:
Private Sub ExplorerTree1_SelectionChanged(ByVal Group As EXPLORERTREELibCtl.IGroup) If (Group.Index = 0) Then With Group.Items If Not hOldItem = 0 Then .ItemItalic(hOldItem) = False End If hOldItem = .SelectedItem() .ItemItalic(hOldItem) = True End With End If End Sub