ListBox.GridLinesHorizontal

Draws horizontal rules between rows in one of five styles. You can use the class constants for Borders to set the gridline styles.

Syntax
GridLinesHorizontal as Integer

# Notes

They are:

BorderDefault (0): Default

BorderNone (1): None

BorderThinDotted (2): Thin Dotted

BorderThinSolid (3): Thin Solid

BorderThickSolid (4): Thick Solid

BorderDoubleThinSolid (5): Double Thin Solid

For example:

lb1.GridLinesHorizontal=ListBox.BorderThinSolid