SftBox/OCX 4.5

SftBoxRowHeaders.ForeColor Property

Softel vdm, Inc.

Defines the default text color used to draw row headers of items that are not selected.

Syntax       

Get

VB.NET

Clr = object.ForeColor  As UIntegerLanguage-specific information

VB

Clr = object.ForeColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.ForeColor;

VC++

OLE_COLOR Clr = object->ForeColor;
OLE_COLOR Clr = object->GetForeColor();

C

HRESULT object->get_ForeColor(OLE_COLOR* Clr);

Delphi

Clr := object.ForeColor  : CardinalLanguage-specific information;

Put

VB.NET

object.ForeColor = Clr  As UIntegerLanguage-specific information

VB

object.ForeColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.ForeColor = Clr;

VC++

OLE_COLOR object->ForeColor = Clr;
void object->PutForeColor(OLE_COLOR Clr);

C

HRESULT object->put_ForeColor(OLE_COLOR Clr);

Delphi

object.ForeColor := Clr  : CardinalLanguage-specific information;

object

A SftBoxRowHeaders object.

Clr

Defines the default text color used to draw row headers of items that are not selected. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The ForeColor property defines the default text color used to draw row headers of items that are not selected.

Individual row headers can override this default color using RowHeader.ForeColor. Items that are selected use the color defined using RowHeaders.SelectForeColor instead.

This property has no effect if Windows themes are used.


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