GridShowHoriz Property
Applies To
fpSpread control
Description
Sets or returns whether to display horizontal grid lines in the sheet.
Syntax
BOOL CSpreadSheet::GetGridShowHoriz( );
void CSpreadSheet::SetGridShowHoriz(BOOL value);
[form.]fpSpread.GridShowHoriz[ = boolean%]
Remarks
The default value for the GridShowHoriz property is True, which displays horizontal grid lines.
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).
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.
Specify whether the sheet displays vertical grid lines using the GridShowVert property. Specify the color of the grid lines using the GridColor property. Specify whether the grid lines are solid or dotted using the GridSolid property.
Spread Designer
Choose the Sheet menu, then the Grid Lines menu, select the Grid Lines tab, and then choose the Show Horizontal Lines check box in the Settings group box in the Sheet Settings dialog box.
Data Type
Integer (Boolean)
See Also
BackColorStyle, GridColor, GridShowVert, GridSolid, Sheet properties
DLL Correspondence
SSGetGridType, SSSetGridType functions