Defines the text color of cells in the specified column.
Deprecated - Provided for compatibility with earlier versions only - Use
Column.ForeColor instead
Syntax
|
Get
|
|
|
VB.NET
|
Clr = object.get_ColumnForeColor(ByVal ColIndex As Short) As System.Drawing.Color
|
|
|
VB
|
Clr = object.ColumnForeColor(ByVal ColIndex As Integer) As OLE_COLOR
|
|
|
C#.NET
|
System.Drawing.Color Clr = object.get_ColumnForeColor(short ColIndex);
|
|
|
VC++
|
OLE_COLOR Clr = object->ColumnForeColor[short ColIndex];
OLE_COLOR Clr = object->GetColumnForeColor(short ColIndex);
|
|
|
C
|
HRESULT object->get_ColumnForeColor(short ColIndex, OLE_COLOR* Clr);
|
|
|
Delphi
|
Clr := object.ColumnForeColor[ColIndex : Smallint] : TColor;
|
|
Put
|
|
|
VB.NET
|
object.set_ColumnForeColor(ByVal ColIndex As Short, ByVal Clr As System.Drawing.Color)
|
|
|
VB
|
object.ColumnForeColor(ByVal ColIndex As Integer) = Clr As OLE_COLOR
|
|
|
C#.NET
|
void object.set_ColumnForeColor(short ColIndex, uint Clr);
|
|
|
VC++
|
OLE_COLOR object->ColumnForeColor[short ColIndex] = Clr;
void object->PutColumnForeColor(short ColIndex, OLE_COLOR Clr);
|
|
|
C
|
HRESULT object->put_ColumnForeColor(short ColIndex, OLE_COLOR Clr);
|
|
|
Delphi
|
object.ColumnForeColor[ColIndex : Smallint] := Clr : TColor;
|
object
A SftTree object.
ColIndex
The zero-based column number.
Clr
Defines the text color of cells in the specified column. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
Deprecated - Provided for compatibility with earlier versions only - Use
Column.ForeColor instead
The ColumnForeColor property defines the text color of cells in the specified
column ColIndex
of items that are not selected.
Cells
can override the foreground color using the Cell.ForeColor
property. If a selected item uses a selection
style (Items.SelectStyle property) that uses
the
Column.SelectBackColor property for only portions of the item, the
Column.ForeColor property
is used for the remainder of the item.
See Also SftTree Object | Object Hierarchy
sfttree_columnforecolor.htmlSftTreeOCX70_sfttree_columnforecolor.html
Feedback
/ comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com