SftBox/OCX 4.5

SftBoxItems.CursorSelect Property

Softel vdm, Inc.

Defines the selection behavior of cursor movement.

Syntax       

Get

VB.NET

Boolean = object.CursorSelect  As Boolean

VB

Boolean = object.CursorSelect  As Boolean

C#.NET

bool Boolean = object.CursorSelect;

VC++

VARIANT_BOOL Boolean = object->CursorSelect;
VARIANT_BOOL Boolean = object->GetCursorSelect();

C

HRESULT object->get_CursorSelect(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.CursorSelect   : WordBool;

Put

VB.NET

object.CursorSelect = Boolean  As Boolean

VB

object.CursorSelect = Boolean  As Boolean

C#.NET

bool object.CursorSelect = Boolean;

VC++

VARIANT_BOOL object->CursorSelect = Boolean;
void object->PutCursorSelect(VARIANT_BOOL Boolean);

C

HRESULT object->put_CursorSelect(VARIANT_BOOL Boolean);

Delphi

object.CursorSelect := Boolean   : WordBool;

object

A SftBoxItems object.

Boolean

Defines the selection behavior of cursor movement.

Boolean

Description

True

As the mouse cursor moves over the drop down portion, the selection follows the mouse cursor. The item under the mouse cursor is highlighted, but SelectionChange events do not occur. When the user clicks the mouse button on an item or hits the ENTER key, the SelectionChange event occurs.

False

The selection does not follow the mouse cursor and remains as-is.

Comments

The CursorSelect property defines the selection behavior of cursor movement.

This property has no effect on a simple combo box. It only affects the drop down portion.


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