SftBox/OCX 4.5

SftBoxCell.BackColor Property

Softel vdm, Inc.

Defines the cell's background color.

Syntax       

Get

VB.NET

Clr = object.BackColor  As UIntegerLanguage-specific information

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.BackColor;

VC++

OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

object.BackColor = Clr  As UIntegerLanguage-specific information

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.BackColor = Clr;

VC++

OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);

C

HRESULT object->put_BackColor(OLE_COLOR Clr);

Delphi

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

object

A SftBoxCell object.

Clr

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

Comments

The BackColor property defines the cell's background color.

This color overrides the default color defined using Items.BackColor or Column.BackColor. If a cell is part of a selected item and the Items.SelectionStyle is suitably defined, the background color defined using the Cell.SelectBackColor property is used instead.


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