Type | Description | |||
Index as Long | A long expression that indicates the index of the item being selectable. | |||
Boolean | A boolean expression that specifies whether the item is selectable. |
The following VB sample makes not selectable the first visible item:
With List1.Items .SelectableItem(.FirstVisibleItem) = False End With
The following C++ sample makes not selectable the first visible item:
#include "Items.h" CItems items = m_list.GetItems(); items.SetSelectableItem( items.GetFirstVisibleItem(), FALSE );
The following VB.NET sample makes not selectable the first visible item:
With AxList1.Items .SelectableItem(.FirstVisibleItem) = False End With
The following C# sample makes not selectable the first visible item:
axList1.Items.set_SelectableItem(axList1.Items.FirstVisibleItem, false);
The following VFP sample makes not selectable the first visible item:
with thisform.List1.Items .SelectableItem(.FirstVisibleItem) = .f. endwith