Defines the first item displayed in the drop down portion.
Get
| C# | int ItemIndex = object.Top; |
| VB.NET | ItemIndex = object.Top As Integer |
| C++ | long ItemIndex = object->Top; long ItemIndex = object->GetTop(); |
| C | HRESULT object->get_Top(long* ItemIndex); |
| VB | ItemIndex = object.Top As Long |
Put
| C# | int object.Top = ItemIndex; |
| VB.NET | object.Top = ItemIndex As Integer |
| C++ | long object->Top = ItemIndex; void object->PutTop(long ItemIndex); |
| C | HRESULT object->put_Top(long ItemIndex); |
| VB | object.Top = ItemIndex As Long |
object
ItemIndex
Defines the first item displayed in the drop down portion.
The Top property defines the first item displayed in the drop down portion.
The Item.MakeVisible method can be used to insure that an item is displayed and visible in the drop down portion.
The Top property can used to make an item specified by ItemIndex the very first item shown in the drop down portion.
See Also SftBoxItems Object | Object Hierarchy