ListBox.CellBorderTop


Warning

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

Description

Sets the top 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 top border of a cell to Thin Solid.

For example:

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

Compatibility

All projects types on all supported operating systems.