SftBoxCell.SelectForeColor Property
Defines the cell's foreground color when the item is selected.
Syntax
Get
| VB.NET | Clr = object.SelectForeColor As UInteger |
| VB | Clr = object.SelectForeColor As OLE_COLOR |
| C#.NET | uint Clr = object.SelectForeColor; |
| VC++ | OLE_COLOR Clr = object->SelectForeColor; OLE_COLOR Clr = object->GetSelectForeColor(); |
| C | HRESULT object->get_SelectForeColor(OLE_COLOR* Clr); |
Put
| VB.NET | object.SelectForeColor = Clr As UInteger |
| VB | object.SelectForeColor = Clr As OLE_COLOR |
| C#.NET | uint object.SelectForeColor = Clr; |
| VC++ | OLE_COLOR object->SelectForeColor = Clr; void object->PutSelectForeColor(OLE_COLOR Clr); |
| C | HRESULT 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