GridLinesFixedproperty
Returns or sets a value that determines the type of lines that are drawn between fixed cells.
Syntax
PROPERTY GridLinesFixed () AS GridLineSettings
PROPERTY GridLinesFixed (BYVAL value AS GridLineSettings)
Parameters
| Name | Description | |
|---|---|---|
value | A 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
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid