Share via


GridLines Property

Determines whether horizontal and vertical lines are displayed in the Grid control. Available at design time; read/write at run time.

Grid.GridLines[ = nSetting]

Return Value

  • nSetting
    The settings for the GridLines property are:

    Setting

    Description

    0

    None. No grid lines.

    1

    Horizontal. Horizontal grid lines only.

    2

    Vertical. Vertical grid lines only.

    3

    (Default) Both. Both horizontal and vertical grid lines.

Remarks

Applies To: Grid Control

See Also

Reference

GridLineColor Property

GridLineWidth Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)