ListBox.CellBorderTop

Sets the top border of the cell designated by Row, Column to a rule style. You specify the Border via ListBox class constants: They are:
BorderDefault (0): Default
BorderNone (1): None
BorderThinDotted (2): Thin Dotted
BorderThinSolid (3): Thin Solid
BorderThickSolid (4): Thick Solid
BorderDoubleThinSolid (5): Double Thin Solid
For example:
lb1.CellBorderTop(1,1)=ListBox.BorderThinSolid

Syntax
CellBorderTop( Row, Column ) as Integer

Parameters
Row | Integer
Column | Integer