|
|
|
SftTree.SelectForeColor Property |
Defines the text color used to draw selected items.
Deprecated - Provided for compatibility with earlier versions only - Use Items.SelectForeColor instead
Syntax
VB.NET |
|||
VB |
Clr = object.SelectForeColor As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->SelectForeColor;
|
||
C |
HRESULT object->get_SelectForeColor(OLE_COLOR* Clr); |
||
Delphi |
Clr := object.SelectForeColor : TColor; |
||
VB.NET |
|||
VB |
object.SelectForeColor = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->SelectForeColor = Clr;
|
||
C |
HRESULT object->put_SelectForeColor(OLE_COLOR Clr); |
||
Delphi |
object.SelectForeColor := Clr : TColor; |
object
A SftTree object.
Clr
Defines the text color used to draw selected items. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
Deprecated - Provided for compatibility with earlier versions only - Use Items.SelectForeColor instead
The SelectForeColor property defines the text color used to draw selected items.
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 Items.SelectForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the SelectForeColor property for only portions of the item, the Items.ForeColor property is used for the remainder of the item.
See Also SftTree Object | Object Hierarchy