Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxCell.SelectForeColor Property

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

Syntax

Get

VB.NETClr = object.SelectForeColor As UInteger
VBClr = object.SelectForeColor As OLE_COLOR
C#.NETuint Clr = object.SelectForeColor;
VC++OLE_COLOR Clr = object->SelectForeColor;
OLE_COLOR Clr = object->GetSelectForeColor();
CHRESULT object->get_SelectForeColor(OLE_COLOR* Clr);

Put

VB.NETobject.SelectForeColor = Clr As UInteger
VBobject.SelectForeColor = Clr As OLE_COLOR
C#.NETuint object.SelectForeColor = Clr;
VC++OLE_COLOR object->SelectForeColor = Clr;
void object->PutSelectForeColor(OLE_COLOR Clr);
CHRESULT object->put_SelectForeColor(OLE_COLOR Clr);

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.

See Also SftBoxCell Object | Object Hierarchy


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