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

Glossary Item Box

SetEnhancedCornerColors Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets the background colors for the corner cell(s) and triangle.

Syntax

C++

BOOL CSpreadSheet::SetEnhancedCornerColors(long BackColor, long hoverBackColor, long triangleColor, long triangleHoverColor,long triangleBorderColor, long triangleHoverBorderColor,);

Visual Basic

fpSpread.SetEnhancedCornerColors(ByVal BackColor As Long, ByVal hoverBackColor As Long, ByVal triangleColor As Long, ByVal triangleHoverColor As Long, ByVal triangleBorderColor As Long, ByVal triangleHoverBorderColor As Long) As Boolean

Parameters

The following parameters are available:

Parameter Description
BackColor Background color of the corner cell (default value is RGB(169,196,233)
hoverBackColor Background color of the corner cell when the mouse pointer is over the corner cell (default value is RGB(140,161,182)
triangleColor Background color of the triangle in the corner cell (default value is RGB(228,236,247)
triangleHoverColor Background color of the triangle in the corner cell when the mouse pointer is over the triangle (default value is RGB(228,236,247)
triangleBorderColor Background color of the triangle border (default value is RGB(169,196,233)
triangleHoverBorderColor Background color of the triangle when the mouse pointer is over the triangle in the corner cell (default value is RGB(140,161,182)

Remarks

The hover color is the color when the mouse pointer is over the corner cell or triangle. The backcolor is the color of the corner cell and the triangle is the triangle in the corner cell. The border is the border around the triangle.

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

Customizing the Appearance

BackColor, ForeColor, Sheet properties

SetEnhancedRowHeaderColors, SetEnhancedScrollBarColors methods

DLL Correspondence

SSSetEnhancedCornerColors function

Copyright © GrapeCity, inc. All rights reserved.