Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

ListBox.setColumnWidth

Sets a value indicating the current width of each column in a multicolumn list box.

Syntax

public final void setColumnWidth( int value )

Parameters

value

The width, in pixels, of each column in the list box.

Exceptions

WFCInvalidArgumentException thrown if the width is less than or equal to zero.

Remarks

If you set the value to zero (0), Windows assigns a default width to each column.

See Also   getColumnWidth