Retrieves or sets a value that indicates whether the item should appear in
strikeout.
Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle. | |||
Boolean | A boolean expression that indicates whether the item should appear in strikeout. |
The following VB sample draws a horizontal line through the selected item:
Private Sub Tree1_SelectionChanged() If Not (h = 0) Then Tree1.Items.ItemStrikeOut(h) = False h = Tree1.Items.SelectedItem() Tree1.Items.ItemStrikeOut(h) = True End Sub
The following VB sample draws a horizontal line through the focused item:
With Tree1.Items .ItemStrikeOut(.FocusItem) = True End With
The following C++ sample draws a horizontal line through the focused item:
#include "Items.h" CItems items = m_tree.GetItems(); items.SetItemStrikeOut( items.GetFocusItem() , TRUE );
The following C# sample draws a horizontal line through the focused item:
axTree1.Items.set_ItemStrikeOut(axTree1.Items.FocusItem, true);
The following VB.NET sample draws a horizontal line through the focused item:
With AxTree1.Items .ItemStrikeOut(.FocusItem) = True End With
The following VFP sample draws a horizontal line through the focused item:
with thisform.Tree1.Items .DefaultItem = .FocusItem .ItemStrikeOut( 0 ) = .t. endwith