DesktopListBox.CellAlignmentAt

From Xojo Documentation

Method

DesktopListBox.CellAlignmentAt(row as Integer, column as Integer) As DesktopListBox.Alignments

New in 2021r3

Supported for all project types and targets.

Returns the alignment of the specified cell.


Method

DesktopListBox.CellAlignmentAt(row as Integer, column as Integer, Assigns value As DesktopListBox.Alignments)

Supported for all project types and targets.

Assigns the alignment to the specified cell.

Notes

You specify the alignment via DesktopListBox.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.