Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItems.Top Property

Defines the first item displayed in the drop down portion.

Syntax

Get

VB.NETItemIndex = object.Top As Integer
VBItemIndex = object.Top As Long
C#.NETint ItemIndex = object.Top;
VC++long ItemIndex = object->Top;
long ItemIndex = object->GetTop();
CHRESULT object->get_Top(long* ItemIndex);

Put

VB.NETobject.Top = ItemIndex As Integer
VBobject.Top = ItemIndex As Long
C#.NETint object.Top = ItemIndex;
VC++long object->Top = ItemIndex;
void
object->PutTop(long ItemIndex);
CHRESULT object->put_Top(long ItemIndex);

object

A SftBoxItems object.

ItemIndex

Defines the first item displayed in the drop down portion.

Comments

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.