ListBox.CellBorderTop

From Xojo Documentation

Property (As Integer )
aListBox.CellBorderTop(Row as Integer, Column as Integer) = newIntegerValue
or
IntegerValue = aListBox.CellBorderTop(Row as Integer, Column as Integer)

Supported for all project types and targets.

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

Example

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

For example:

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