SftBox/OCX 4.5

SftBoxItems.DropScrolling Property

Softel vdm, Inc.

Defines automatic vertical scrolling when using the Items.DropIndex property.

Syntax       

Get

VB.NET

Boolean = object.DropScrolling  As Boolean

VB

Boolean = object.DropScrolling  As Boolean

C#.NET

bool Boolean = object.DropScrolling;

VC++

VARIANT_BOOL Boolean = object->DropScrolling;
VARIANT_BOOL Boolean = object->GetDropScrolling();

C

HRESULT object->get_DropScrolling(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.DropScrolling   : WordBool;

Put

VB.NET

object.DropScrolling = Boolean  As Boolean

VB

object.DropScrolling = Boolean  As Boolean

C#.NET

bool object.DropScrolling = Boolean;

VC++

VARIANT_BOOL object->DropScrolling = Boolean;
void object->PutDropScrolling(VARIANT_BOOL Boolean);

C

HRESULT object->put_DropScrolling(VARIANT_BOOL Boolean);

Delphi

object.DropScrolling := Boolean   : WordBool;

object

A SftBoxItems object.

Boolean

Defines automatic vertical scrolling when using the Items.DropIndex property.

Boolean

Description

True

If the DropIndex property is set to the first (or last) item currently visible in the drop down portion, the control automatically scrolls up (or down) one item. This allows a user to drag items to a target item which has to be scrolled into view first. The contents of the control will scroll in the given direction until the DropIndex property is set to -1 or to the index of an item which is not the first (or last) item visible.

False

The drop down portion will not be scrolled.

Comments

The DropScrolling property defines automatic vertical scrolling when using the Items.DropIndex property.

Based on the DropScrolling property, if the Items.DropIndex property is set to the first (or last) item currently visible in the drop down portion, the control automatically scrolls up (or down) one item. This allows a user to drag items to a target item which has to be scrolled into view first. The contents of the control will scroll in the given direction until the Items.DropIndex property is set to -1 or to the index of an item which is not the first (or last) item visible.

If the Items.DropIndex property is set to -1, the DropScrolling property is automatically set to False.


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