ListBox.GridLinesHorizontalStyle

From Xojo Documentation

Property (As ListBox.Borders )
aListBox.GridLinesHorizontalStyle = newListBox.BordersValue
or
ListBox.BordersValue = aListBox.GridLinesHorizontalStyle

New in 2019r2

Supported for all project types and targets.

Draws horizontal lines between rows in the selected style.

Notes

The style for the borders is selected using ListBox.Borders.

Example

This example sets the gridlines to Thin Solid. The example is in the Open event of the ListBox.

Me.GridLinesHorizontalStyle = ListBox.Borders.ThinSolid