ListBox.ColumnAlignmentOffsetAt
From Xojo Documentation
Property (As Integer )
aListBox.ColumnAlignmentOffsetAt(ColumnNumber as Integer) = newIntegerValue
or
IntegerValue = aListBox.ColumnAlignmentOffsetAt(ColumnNumber as Integer)
New in 2019r2
Supported for all project types and targets.
or
IntegerValue = aListBox.ColumnAlignmentOffsetAt(ColumnNumber as Integer)
New in 2019r2
Supported for all project types and targets.
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.
Example
This example sets the offset in a right-aligned column by 10 pixels.
Me.ColumnAlignmentOffsetAt(2) = -10