ListBox.GridLinesVertical

From Xojo Documentation

Property (As Integer )
aListBox.GridLinesVertical = newIntegerValue
or
IntegerValue = aListBox.GridLinesVertical

Supported for all project types and targets.

Draws vertical rules between columns in one of five styles.

Notes

You can use the class constants for Borders to set the gridline styles. They are:

Value Class Constant
0 BorderDefault
1 BorderNone
2 BorderThinDotted
3 BorderThinSolid
4 BorderThickSolid
5 BorderDoubleThinSolid

Example

This example sets the vertical lines to Thin Solid. The code is in the Open event of the control.

Me.GridLinesVertical = ListBox.BorderThinSolid