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 the background color used to draw selected items when the control doesn't have the input focus.
Deprecated - Provided for compatibility with earlier versions only - Use Items.SelectBackColorNoFocus instead
Get
| VB.NET | Clr = object.SelectBackColorNoFocus As System.Drawing.Color![]() |
| VB | Clr = object.SelectBackColorNoFocus As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.SelectBackColorNoFocus; |
| VC++ | OLE_COLOR Clr = object->SelectBackColorNoFocus; OLE_COLOR Clr = object->GetSelectBackColorNoFocus(); |
| C | HRESULT object->get_SelectBackColorNoFocus(OLE_COLOR* Clr); |
Put
| VB.NET | object.SelectBackColorNoFocus = Clr As System.Drawing.Color![]() |
| VB | object.SelectBackColorNoFocus = Clr As OLE_COLOR |
| C#.NET | System.Drawing.Color object.SelectBackColorNoFocus = Clr; |
| VC++ | OLE_COLOR object->SelectBackColorNoFocus = Clr; void object->PutSelectBackColorNoFocus(OLE_COLOR Clr); |
| C | HRESULT object->put_SelectBackColorNoFocus(OLE_COLOR Clr); |
object
Clr
Defines the background color used to draw selected items when the control doesn't have the input focus. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Deprecated - Provided for compatibility with earlier versions only - Use Items.SelectBackColorNoFocus instead
The SelectBackColorNoFocus property defines the background color used to draw selected items when the control doesn't have the input focus.
This property is only used if the Items.NoFocusStyle property is set to noFocusSftTreeKeepSel (0). If the control has the input focus, the SelectBackColor property is used instead. Columns can override the default background color using the Column.SelectBackColor property. Cells can override the background color using the Cell.SelectBackColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the SelectBackColorNoFocus property for only portions of the item, the BackColor property is used for the remainder of the item.
The SelectBackColorNoFocus only applies if the Items.NoFocusStyle property is set to noFocusSftTreeKeepSel (0).
See Also SftTree Object | Object Hierarchy
