ListBox.ColumnAlignment

Aligns the specified column. The first column is numbered zero.

Syntax
ColumnAlignment( columnNumber ) as Integer

Parameters
columnNumber | Integer

# Notes

You specify the alignment via ListBox class constants. They are:

AlignDefault (0): Default alignment

AlignLeft (1): Left

AlignCenter (2): Center

AlignRight (3): Right

AlignDecimal (4): Decimal

For example:

lbox1.ColumnAlignment(1)=ListBox.AlignRight

Decimal aligns the decimal separator to the right edge of the column. You need to use ColumnAlignmentOffset to move the data into the column.