ListBox.ColumnAlignmentOffset
From Xojo Documentation
This item was deprecated in version 2019r2. Please use ListBox.ColumnAlignmentOffsetAt as a replacement. |
Property (As Integer )
aListBox.ColumnAlignmentOffset(ColumnNumber as Integer) = newIntegerValue
or
IntegerValue = aListBox.ColumnAlignmentOffset(ColumnNumber as Integer)
Supported for all project types and targets.
or
IntegerValue = aListBox.ColumnAlignmentOffset(ColumnNumber as Integer)
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.ColumnAlignmentOffset(2) = -10