SftTree/OCX 7.0

SftTreeItems.ForeColorOdd Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Clr = object.ForeColorOdd  As UIntegerLanguage-specific information

VB

Clr = object.ForeColorOdd  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.ForeColorOdd;

VC++

OLE_COLOR Clr = object->ForeColorOdd;
OLE_COLOR Clr = object->GetForeColorOdd();

C

HRESULT object->get_ForeColorOdd(OLE_COLOR* Clr);

Delphi

Clr := object.ForeColorOdd  : Cardinal;

Put

VB.NET

object.ForeColorOdd = Clr  As UIntegerLanguage-specific information

VB

object.ForeColorOdd = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.ForeColorOdd = Clr;

VC++

OLE_COLOR object->ForeColorOdd = Clr;
void object->PutForeColorOdd(OLE_COLOR Clr);

C

HRESULT object->put_ForeColorOdd(OLE_COLOR Clr);

Delphi

object.ForeColorOdd := Clr  : Cardinal;

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com