Returns the index of the first visible item in the combo box control.
Get
| VB.NET | ItemIndex = object.FirstShown As Integer |
| VB | ItemIndex = object.FirstShown As Long |
| C#.NET | int ItemIndex = object.FirstShown; |
| VC++ | long ItemIndex = object->FirstShown; long ItemIndex = object->GetFirstShown(); |
| C | HRESULT object->get_FirstShown(long* ItemIndex); |
object
ItemIndex
Returns the index of the first visible item in the combo box control. -1 is returned, if no item is found.
The FirstShown property returns the index of the first visible item in the combo box control.
Use Item.NextShown, Item.PrevShown, Items.LastShown to retrieve information about item visibility.
See Also SftBoxItems Object | Object Hierarchy