<div class="meta" robots="noindex">

</div>

# ListBox.ColumnAlignmentOffset

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.ColumnAlignmentOffsetAt<desktoplistbox.columnalignmentoffsetat>` as a replacement.

</div>

## Description

Modifies the alignment point and is especially useful for decimal alignment. n pixels from the what is specified for the column alignment. The first column is numbered zero.

## Notes

The value is the distance in pixels from what is specified for the column alignment.

For right alignment, a negative value moves the decimal separator to the left, i.e., into the body of the column. See the example in the Notes subsection "Decimal Alignment."

ListBox columns are zero-based.

## Sample code

This example sets the offset in a right-aligned column by 10 pixels.

``` xojo
Me.ColumnAlignmentOffset(2) = -10
```

## Compatibility

All projects types on all supported operating systems.
