ListBox.GridLinesHorizontal
From Xojo Documentation
This item was deprecated in version 2019r2. Please use ListBox.GridLinesHorizontalStyle as a replacement. |
Property (As Integer )
aListBox.GridLinesHorizontal = newIntegerValue
or
IntegerValue = aListBox.GridLinesHorizontal
Supported for all project types and targets.
or
IntegerValue = aListBox.GridLinesHorizontal
Supported for all project types and targets.
Draws horizontal rules between rows 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 gridlines to Thin Solid. The example is in the Open event of the ListBox.
Me.GridLinesHorizontal = ListBox.BorderThinSolid