[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TListColumn.MaxWidth

Maximum width for the column in pixels.

Declaration

Source position: comctrls.pp line 1250

published property TListColumn.MaxWidth : TWidth
  read FMaxWidth
  write SetMaxWidth
  default 0;

Description

MaxWidth is used to constrain the width for the column to a maximum number of pixels. It is used, along with MinWidth, to range limit the value in Width at design-time or when resized with a mouse.

MinWidth, MaxWidth, and Width are not used when AutoSize is enabled; the values are ignored and the column width is determined by the content in the column.

See also

TListColumn.Width

  

Width for the column on a list view control.

TListColumn.MinWidth

  

Minimum width for the column in pixels.

TListColumn.AutoSize

  

Resizes the column to the width needed for the list view Items or SubItems displayed in the column.


Version 4.0 Generated 2025-05-03 Home