List Column - SizeToContents Method

Set the column width to the widest content

Member of List Column (PRIM_LIST.Column)


The SizeToContents method sets the width of the column to the widest value.
This is the programmatic equivalent of double clicking on the gap between two column headers.
If ColumnUnits is set to Proportion, this method will have no effect.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020