ListBox.ColumnAlignment


Warning

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

Description

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

Notes

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

Class Constant

Description

AlignDefault

Default alignment, same as column type

AlignLeft

Left aligned

AlignCenter

Center aligned

AlignRight

Right aligned

AlignDecimal

Decimal aligned

Sample code

For example:

ListBox1.ColumnAlignment(1) = ListBox.AlignRight

Compatibility

All projects types on all supported operating systems.