Spread 8.0 Documentation
SetEnhancedRowHeaderColors Method
Support Options
ActiveX Reference > ActiveX Methods > SetEnhancedRowHeaderColors Method

Glossary Item Box

SetEnhancedRowHeaderColors Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets the background colors for the row headers.

Syntax

C++

BOOL CSpreadSheet::SetEnhancedRowHeaderColors(long clrSelectedHoverUpperColor, long clrSelectedHoverLowerColor, long clrSelectedUpperColor, long clrSelectedLowerColor,long clrHoverUpperColor, long clrHoverLowerColor,long clrUpperColor, long clrUpperColor,long clrSelectedBorderColor, long clrBorderColor);

Visual Basic

fpSpread.SetEnhancedRowHeaderColors(ByVal clrSelectedHoverUpperColor As Long, ByVal clrSelectedHoverLowerColor As Long, ByVal clrSelectedUpperColor As Long, ByVal clrSelectedLowerColor As Long, ByVal clrHoverUpperColor As Long, ByVal clrHoverLowerColor As Long, ByVal clrUpperColor As Long, ByVal clrLowerColor As Long, ByVal clrSelectedBorderColor As Long, ByVal clrBorderColor As Long) As Boolean

Parameters

The following parameters are available:

Parameter Description
clrSelectedHoverUpperColor Selected, active background row header color of the upper half of the header when the mouse pointer is over the header (default value is RGB(241,192,92)
clrSelectedHoverLowerColor Selected, active background row header color of the lower half of the header when the mouse pointer is over the header (default value is RGB(241,192,92)
clrSelectedUpperColor Selected, upper background color of the active row header (default value is RGB(255,213,141)
clrSelectedLowerColor Selected, lower background color of the active row header (default value is RGB(255,213,141)
clrHoverUpperColor Upper background color of the row header when the mouse pointer is over the header (default value is RGB(187,196,209)
clrHoverLowerColor Lower background color of the row header when the mouse pointer is over the header (default value is RGB(187,196,209)
clrUpperColor Background color of the upper half of the header (default value is RGB(228,236,247)
clrLowerColor Background color of the lower half of the header (default value is RGB(228,236,247)
clrSelectedBorderColor Border color of the row header when the row is selected (default value is RGB(242,149,54)
clrBorderColor Border color of the row header (default value is RGB(158,182,206)

Remarks

The selected color is the color of the selected row or the color of the row header where the active cell is located.

The hover color is the color under the mouse pointer (not the selected or active row). If you move the mouse pointer over a header but, do not click on it, this is the hover color. The upper color is the upper half of the row header and the lower color is the lower half of the row header.

This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.

Return Type

True if successful; otherwise, False.

See Also

Setting the Header Background and Text Colors

BackColor, ForeColor, Sheet properties

SetEnhancedColumnHeaderColors, SetEnhancedCornerColors methods

DLL Correspondence

SSSetEnhancedRowHeaderColors function

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