SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Defines whether the selection changes when the caret location changes.
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); |
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); |
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. |
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.
HorizontalOffset2Pix= 0
Indentation = -1
ItemImageAlign = 1
Lines = 5
MaxHeightPix = 0
MinHeightPix = 0
MultiSelect = 0
NoFocusStyle = 0
NoSelection = 0
RubberbandSelection= 1
SelectBackColor = -2147483635
SelectBackColorNoFocus= -2147483633
SelectForeColor = -2147483634
SelectForeColorNoFocus= -2147483630
ShadowColor = -2147483632
Style = 1See Also SftTreeItems Object | Object Hierarchy
