ListBox.CellBorderRight


Warning

This item was deprecated in version 2019r2. Please use DesktopListBox.PaintCellBackground as a replacement.

Description

Sets the right border of the cell designated by Row, Column to a rule style. Row and Column are zero-based.

Notes

You specify the Border via ListBox class constants: They are:

Value

Class Constant

0

BorderDefault

1

BorderNone

2

BorderThinDotted

3

BorderThinSolid

4

BorderThickSolid

5

BorderDoubleThinSolid

Sample code

The following example sets the right border of a cell to Thin Solid.

ListBox1.CellBorderRight(1, 1) = ListBox.BorderThinSolid

Compatibility

All projects types on all supported operating systems.