|
|
|
SftTree.ForeColor Property |
Defines the default text color used to draw items that are not selected.
Deprecated - Provided for compatibility with earlier versions only - Use Items.ForeColor instead
Syntax
VB.NET |
|||
VB |
Clr = object.ForeColor As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->ForeColor;
|
||
C |
HRESULT object->get_ForeColor(OLE_COLOR* Clr); |
||
Delphi |
Clr := object.ForeColor : TColor; |
||
VB.NET |
|||
VB |
object.ForeColor = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->ForeColor = Clr;
|
||
C |
HRESULT object->put_ForeColor(OLE_COLOR Clr); |
||
Delphi |
object.ForeColor := Clr : TColor; |
object
A SftTree object.
Clr
Defines the default text color used to draw items that are not selected. 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.ForeColor instead
The ForeColor property defines the default text color used to draw items that are not selected.
Columns can override the default foreground color using the Column.ForeColor property. Cells can override the default foreground color using the Cell.ForeColor property. If an item is disabled (Item.Enabled property), the Items.GrayedColor property is used instead of the ForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Items.SelectForeColor property for only portions of the item, the ForeColor property is used for the remainder of the item.
See Also SftTree Object | Object Hierarchy