Type | Description | |||
Item as HITEM | A long expression that indicates the handle 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 Grid1.Items .SelectableItem(.FirstVisibleItem) = False End With
The following C++ sample makes not selectable the first visible item:
CItems items = m_grid.GetItems(); items.SetSelectableItem( items.GetFirstVisibleItem(), FALSE );
The following VB.NET sample makes not selectable the first visible item:
With AxGrid1.Items .SelectableItem(.FirstVisibleItem) = False End With
The following C# sample makes not selectable the first visible item:
axGrid1.Items.set_SelectableItem(axGrid1.Items.FirstVisibleItem, false);
The following VFP sample makes not selectable the first visible item:
with thisform.Grid1.Items .DefaultItem = .FirstVisibleItem .SelectableItem(0) = .f. endwith