ListBox.CellAlignmentAt

From Xojo Documentation

Property (As ListBox.Alignments )
aListBox.CellAlignmentAt(Row as Integer, Column as Integer) = newListBox.AlignmentsValue
or
ListBox.AlignmentsValue = aListBox.CellAlignmentAt(Row as Integer, Column as Integer)

Supported for all project types and targets.

Aligns the specified cell. Row and Column are zero-based.

Notes

You specify the alignment via ListBox.Alignments.

Example

Decimal aligns the decimal separator to the right edge of the cell. You need to use CellAlignmentOffsetAt or ColumnAlignmentOffsetAt to move the data into the column.

Listbox1.CellAlignmentAt(1,1) = ListBox.Alignments.Right

See Also

CellAlignmentOffsetAt, ColumnAlignmentOffsetAt, Alignments.