Spread 8.0 Documentation
SelBackColor Property
Support Options
ActiveX Reference > ActiveX Properties > SelBackColor Property

Glossary Item Box

SelBackColor Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the background color of the selected cells.

Syntax

C++

unsigned long CSpreadSheet::GetSelBackColor( );
void CSpreadSheet::SetSelBackColor(unsigned long value);

Visual Basic

[form.]fpSpread.SelBackColor[ = color]

Remarks

The default value for the SelBackColor property is SPREAD_COLOR_NONE. When the SelBackColor property is set to this value, the inverse of the background color set by the BackColor property is used for the selected cells. Set the SelBackColor property to a color value to display a different background color in selected cells.

This setting is applied to the entire workbook, including all sheets in the control.

Set the text color for selected cells using the SelForeColor property.

Spread Designer

Choose the Book menu, then the Book Colors menu, select the Colors tab, and then choose SelBackColor from the drop-down list box in the Sheet Default Settings dialog box.

Data Type

Color

See Also

Specifying the Colors of Selected Cells

BackColor, SelForeColor properties

DLL Correspondence

SSGetSelColor, SSSetSelColor functions

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.