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 text 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.SelectForeColorNoFocus instead
Get
| VB.NET | Clr = object.SelectForeColorNoFocus As System.Drawing.Color![]() |
| VB | Clr = object.SelectForeColorNoFocus As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.SelectForeColorNoFocus; |
| VC++ | OLE_COLOR Clr = object->SelectForeColorNoFocus; OLE_COLOR Clr = object->GetSelectForeColorNoFocus(); |
| C | HRESULT object->get_SelectForeColorNoFocus(OLE_COLOR* Clr); |
Put
| VB.NET | object.SelectForeColorNoFocus = Clr As System.Drawing.Color![]() |
| VB | object.SelectForeColorNoFocus = Clr As OLE_COLOR |
| C#.NET | System.Drawing.Color object.SelectForeColorNoFocus = Clr; |
| VC++ | OLE_COLOR object->SelectForeColorNoFocus = Clr; void object->PutSelectForeColorNoFocus(OLE_COLOR Clr); |
| C | HRESULT object->put_SelectForeColorNoFocus(OLE_COLOR Clr); |
object
Clr
Defines the text 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.SelectForeColorNoFocus instead
The SelectForeColorNoFocus property defines the text 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). Columns can override the default foreground color using the Column.SelectForeColor property. Cells can override the foreground color using the Cell.SelectForeColor property. If an item is disabled (Item.Enabled property), the Items.GrayedColor property is used instead of the SelectForeColorNoFocus property.
The SelectForeColorNoFocus only applies if the Items.NoFocusStyle property is set to noFocusSftTreeKeepSel (0).
See Also SftTree Object | Object Hierarchy
