|
|
|
SftTreeItems.NoSelection Property |
Defines whether the selection changes when the caret location changes.
Syntax
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;
|
||
C |
HRESULT object->get_NoSelection(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.NoSelection : WordBool; |
||
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;
|
||
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