Help Center

GridLinesFixedproperty

Returns or sets a value that determines the type of lines that are drawn between fixed cells.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY GridLinesFixed () AS GridLineSettings
PROPERTY GridLinesFixed (BYVAL value AS GridLineSettings)

Parameters

NameDescription
valueA Long value or constant that specifies the type of lines drawn, as described in Settings.

Description

Returns or sets a value that determines whether lines are drawn between cells. This property specifically targets the lines within the fixed areas defined by FixedRows and FixedCols.

Remarks

This setting applies to all fixed headers, including those generated by hierarchical bands.

When the GridLinesFixed property is set to 1 (flat lines), the color of the lines is determined by the GridColorFixed property.

Raised and inset gridlines are always black and white.

Changing the line style triggers a complete repaint of the control. For large grids, set Redraw = False before changing this property.

Example

' Remove the 3D effect for a cleaner, modern look grid.GridLinesFixed = flexGridFlat

' Set the header line color to a dark gray grid.GridColorFixed = BGR(128, 128, 128)

Reference