Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItems.DropScrolling Property

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

Syntax

Get

VB.NETBoolean = object.DropScrolling As Boolean
VBBoolean = object.DropScrolling As Boolean
C#.NETbool Boolean = object.DropScrolling;
VC++VARIANT_BOOL Boolean = object->DropScrolling;
VARIANT_BOOL Boolean = object->GetDropScrolling();
CHRESULT object->get_DropScrolling(VARIANT_BOOL* Boolean);

Put

VB.NETobject.DropScrolling = Boolean As Boolean
VBobject.DropScrolling = Boolean As Boolean
C#.NETbool object.DropScrolling = Boolean;
VC++VARIANT_BOOL object->DropScrolling = Boolean;
void object->PutDropScrolling(VARIANT_BOOL Boolean);
CHRESULT object->put_DropScrolling(VARIANT_BOOL Boolean);

object

A SftBoxItems object.

Boolean

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

BooleanDescription
TrueIf 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.
FalseThe 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.

See Also SftBoxItems Object | Object Hierarchy


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