SftBox/OCX 4.5

SftBoxItems.Top Property

Softel vdm, Inc.

Defines the first item displayed in the drop down portion.

Syntax       

Get

VB.NET

ItemIndex = object.Top  As Integer

VB

ItemIndex = object.Top  As Long

C#.NET

int ItemIndex = object.Top;

VC++

long ItemIndex = object->Top;
long ItemIndex = object->GetTop();

C

HRESULT object->get_Top(long* ItemIndex);

Delphi

ItemIndex := object.Top   : Integer;

Put

VB.NET

object.Top = ItemIndex  As Integer

VB

object.Top = ItemIndex  As Long

C#.NET

int object.Top = ItemIndex;

VC++

long object->Top = ItemIndex;
void object->PutTop(long ItemIndex);

C

HRESULT object->put_Top(long ItemIndex);

Delphi

object.Top := ItemIndex   : Integer;

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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com