SftTree/OCX 7.0

SftTreeItems.NoSelection Property

Softel vdm, Inc.

Defines whether the selection changes when the caret location changes.

Syntax       

Get

VB.NET

Boolean = object.NoSelection  As Boolean

VB

Boolean = object.NoSelection  As Boolean

C#.NET

bool Boolean = object.NoSelection;

VC++

VARIANT_BOOL Boolean = object->NoSelection;
VARIANT_BOOL Boolean = object->GetNoSelection();

C

HRESULT object->get_NoSelection(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.NoSelection   : WordBool;

Put

VB.NET

object.NoSelection = Boolean  As Boolean

VB

object.NoSelection = Boolean  As Boolean

C#.NET

bool object.NoSelection = Boolean;

VC++

VARIANT_BOOL object->NoSelection = Boolean;
void object->PutNoSelection(VARIANT_BOOL Boolean);

C

HRESULT object->put_NoSelection(VARIANT_BOOL Boolean);

Delphi

object.NoSelection := Boolean   : WordBool;

object

A SftTreeItems object.

Boolean

Defines whether the selection changes when the caret location changes.

Boolean

Description

True

The selection doesn't change when the caret location changes.

False

The selection changes when the caret location changes.

Comments

The NoSelection property defines whether the selection changes when the caret location changes.

If the NoSelection property is set to True, the selection does not automatically follow the caret location when the user clicks outside of a cell.  If the CONTROL key is used with a directional key (such as an arrow key), the caret location changes, but the current selection remains.  This allows a user to click on an expand/collapse button without changing the currently selected item(s).

In a multiple selection tree control, the selection never follows the caret location when the user clicks outside of a cell, regardless of the setting of this property. 

See Also  SftTreeItems Object | Object Hierarchy


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