SftBox/OCX 4.5

SftBoxItems.LastShown Property

Softel vdm, Inc.

Returns the index of the last visible item in the combo box control.

Syntax       

Get

VB.NET

ItemIndex = object.LastShown  As Integer

VB

ItemIndex = object.LastShown  As Long

C#.NET

int ItemIndex = object.LastShown;

VC++

long ItemIndex = object->LastShown;
long ItemIndex = object->GetLastShown();

C

HRESULT object->get_LastShown(long* ItemIndex);

Delphi

ItemIndex := object.LastShown   : Integer;

object

A SftBoxItems object.

ItemIndex

Returns the index of the last visible item in the combo box control. -1 is returned, if no item is found.

Comments

The LastShown property returns the index of the last visible item in the combo box control.

Use Items.FirstShown, Item.NextShown, Item.PrevShown to retrieve information about item visibility.


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