Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ForeColorOdd Property, SftTreeItems Object

Defines the text color used to draw items in odd rows.

Syntax

Get

VB.NETClr = object.ForeColorOdd As UInteger
VBClr = object.ForeColorOdd As OLE_COLOR
C#.NETuint Clr = object.ForeColorOdd;
VC++OLE_COLOR Clr = object->ForeColorOdd;
OLE_COLOR Clr = object->GetForeColorOdd();
CHRESULT object->get_ForeColorOdd(OLE_COLOR* Clr);

Put

VB.NETobject.ForeColorOdd = Clr As UInteger
VBobject.ForeColorOdd = Clr As OLE_COLOR
C#.NETuint object.ForeColorOdd = Clr;
VC++OLE_COLOR object->ForeColorOdd = Clr;
void object->PutForeColorOdd(OLE_COLOR Clr);
CHRESULT object->put_ForeColorOdd(OLE_COLOR Clr);

object

A SftTreeItems object.

Clr

Defines the text color used to draw items in odd rows. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The ForeColorOdd property defines the text color used to draw items in odd rows.

Columns can override the foreground color using the Column.ForeColor property. 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 Items.SelectForeColor property for only portions of the item, the ForeColorOdd property is used for the remainder of the item.

See Also SftTreeItems Object | Object Hierarchy


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