Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowSelectForeColor Property, SftTree Object

Defines the row header text color used to draw the item when it is selected.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.SelectForeColor instead

Syntax

Get

VB.NETClr = object.get_RowSelectForeColor(ByVal ItemIndex As Integer) As System.Drawing.Color
VBClr = object.RowSelectForeColor(ByVal ItemIndex As Long) As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.get_RowSelectForeColor(int ItemIndex);
VC++OLE_COLOR Clr = object->RowSelectForeColor[long ItemIndex];
OLE_COLOR Clr = object->GetRowSelectForeColor(long ItemIndex);
CHRESULT object->get_RowSelectForeColor(long ItemIndex, OLE_COLOR* Clr);

Put

VB.NETobject.set_RowSelectForeColor(ByVal ItemIndex As Integer, ByVal Clr As System.Drawing.Color)
VBobject.RowSelectForeColor(ByVal ItemIndex As Long) = Clr As OLE_COLOR
C#.NETvoid object.set_RowSelectForeColor(int ItemIndex, uint Clr);
VC++OLE_COLOR object->RowSelectForeColor[long ItemIndex] = Clr;
void object->PutRowSelectForeColor(long ItemIndex, OLE_COLOR Clr);
CHRESULT object->put_RowSelectForeColor(long ItemIndex, OLE_COLOR Clr);

object

A SftTree object.

ItemIndex

The zero-based item index.

Clr

Defines the row header text color used to draw the item when it is 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 RowHeader.SelectForeColor instead

The RowSelectForeColor property defines the row header text color used to draw the item when it is selected.

The row header described by ItemIndex has the foreground color attribute Clr. This color is used as foreground color when the item is selected. If the item is not selected, the RowHeader.ForeColor property is used instead.

This property has no effect if Windows themes are used.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.