<div class="meta" robots="noindex">

</div>

# ListBox.GridLinesVertical

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.GridLineStyle<desktoplistbox.gridlinestyle>` as a replacement.

</div>

## Description

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 |

## Sample code

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

``` xojo
Me.GridLinesVertical = ListBox.BorderThinSolid
```

## Compatibility

All projects types on all supported operating systems.
