Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxColumn.ForeColor Property

Defines the default foreground color for all cells in this column.

Syntax

Get

VB.NETClr = object.ForeColor As UInteger
VBClr = object.ForeColor As OLE_COLOR
C#.NETuint Clr = object.ForeColor;
VC++OLE_COLOR Clr = object->ForeColor;
OLE_COLOR Clr = object->GetForeColor();
CHRESULT object->get_ForeColor(OLE_COLOR* Clr);

Put

VB.NETobject.ForeColor = Clr As UInteger
VBobject.ForeColor = Clr As OLE_COLOR
C#.NETuint object.ForeColor = Clr;
VC++OLE_COLOR object->ForeColor = Clr;
void object->PutForeColor(OLE_COLOR Clr);
CHRESULT object->put_ForeColor(OLE_COLOR Clr);

object

A SftBoxColumn object.

Clr

Defines the default foreground color for all cells in this column. Specify -1 to restore the default color. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The ForeColor property defines the default foreground color for all cells in this column.

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

See Also SftBoxColumn Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.