ListBox.CellAlignmentOffset

From Xojo Documentation

Revision as of 13:00, 3 July 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Integer )
aListBox.CellAlignmentOffset(Row as Integer, Column as Integer) = newIntegerValue
or
IntegerValue = aListBox.CellAlignmentOffset(Row as Integer, Column as Integer)

Supported for all project types and targets.

The value is the distance in points from the right edge of the cell. Row and Column are zero-based. This property overrides ColumnAlignmentOffset for that cell.

Notes

Any value specified here is applied to the value used for ColumnAlignmentOffset.

Example

This example is applied to a column that is right-aligned and moves the contents of a cell 10 points to the left.

Me.CellAlignmentOffset(1, 3) = -10

See Also

ColumnAlignmentOffset