From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aDesktopListBoxColumn.WidthActual = newIntegerValue
IntegerValue = aDesktopListBoxColumn.WidthActual

New in 2021r3

Supported for all project types and targets.

The width of the column in pixels.


This example sets the size of the first three columns in a DesktopListBox.

Me.ColumnAttributesAt(0).WidthActual = 80
Me.ColumnAttributesAt(1).WidthActual = 80
Me.ColumnAttributesAt(2).WidthActual = 45