ListBox.GridLinesVertical

From Xojo Documentation

Revision as of 13:24, 18 June 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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