[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Width for the column on a list view control.
Source position: comctrls.pp line 1254
published property TListColumn.Width : TWidth |
Width is an Integer property with the width for the column on a list view control. Width is used along with MaxWidth and MinWidth to control the amount of space needed or available for the column.
The property value is read from and written to the widgetset class instance when its handle is allocated.
The default value for the property is 50 (pixels). If the property is changed, the value is normalized to the range indicated by MinWidth and MaxWidth (when assigned). Default values are not assigned for the MinWidth and MaxWidth properties. The collection which owns the column instance is updated, and the list view and any observers are notified when the column is modified.
Set AutoSize to True to automatically resize the column to its content and the available space on the associated list view control. Values in MinWidth, MaxWidth, and Width are ignored when AutoSize is enabled.
|
Resizes the column to the width needed for the list view Items or SubItems displayed in the column. |
|
|
Maximum width for the column in pixels. |
|
|
Minimum width for the column in pixels. |
Version 4.0 | Generated 2025-05-03 | Home |