SftBox/OCX 4.5

SftBoxCell.SelectForeColor Property

Softel vdm, Inc.

Defines the cell's foreground color when the item is selected.

Syntax       

Get

VB.NET

Clr = object.SelectForeColor  As UIntegerLanguage-specific information

VB

Clr = object.SelectForeColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.SelectForeColor;

VC++

OLE_COLOR Clr = object->SelectForeColor;
OLE_COLOR Clr = object->GetSelectForeColor();

C

HRESULT object->get_SelectForeColor(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

object.SelectForeColor = Clr  As UIntegerLanguage-specific information

VB

object.SelectForeColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.SelectForeColor = Clr;

VC++

OLE_COLOR object->SelectForeColor = Clr;
void object->PutSelectForeColor(OLE_COLOR Clr);

C

HRESULT object->put_SelectForeColor(OLE_COLOR Clr);

Delphi

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

object

A SftBoxCell object.

Clr

Defines the cell's foreground color when the item is selected. Specify -1 to restore the default color. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The SelectForeColor property defines the cell's foreground color when the item is selected.

This color overrides the default color defined using Items.SelectForeColor or Column.SelectForeColor.


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