SftBox/OCX 4.5

SftBoxItems.SelectForeColor Property

Softel vdm, Inc.

Defines the default foreground color for selected items when the controls has the input focus.

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 SftBoxItems object.

Clr

Defines the default foreground color for selected items when the controls has the input focus. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The SelectForeColor property defines the default foreground color for selected items when the controls has the input focus.

Columns can override this color using the Column.SelectForeColor property. Cells can override this color using the Cell.SelectForeColor property. Items that are not selected use the color defined using Items.ForeColor instead.


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