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

Glossary Item Box

GridSolid Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the type of grid lines displayed in the sheet.

Syntax

C++

BOOL CSpreadSheet::GetGridSolid( );
void CSpreadSheet::SetGridSolid(BOOL value);

Visual Basic

[form.]fpSpread.GridSolid[ = boolean%]

Remarks

The default value for the GridSolid property is True.

When the GridSolid property is set to True, the grid lines are displayed as solid lines. When the GridSolid property is set to False, the grid lines are displayed as dotted lines.

This setting is applied to the current sheet setting unless you first set the Sheet property to specify the sheet for which you are setting the property.

This property does not have an effect unless either or both of the GridShowHoriz and the GridShowVert properties are set to True.

By default, the background color of cells overlaps the bottom and right sides of the surrounding grid lines, hiding those portions of the grid lines from view if the background color is set to a color other than white. To display all sides of the grid lines, set the BackColorStyle property to 1 (Under Grid).

Specify whether the sheet displays horizontal grid lines, vertical grid lines, or both, using the GridShowHoriz and GridShowVert properties. Specify the color of the grid lines using the GridColor property.

Spread Designer

Choose the Sheet menu, then the Grid Lines menu, select the Grid Lines tab, and then choose the Make Grid Lines Solid check box in the Settings group box in the Sheet Settings dialog box.

Data Type

Integer (Boolean)

See Also

Customizing Grid Lines

BackColorStyle, GridColor, GridShowHoriz, GridShowVert, Sheet properties

DLL Correspondence

SSGetGridType, SSSetGridType functions

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