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

THeaderSection.MaxWidth

Maximum width in pixels allowed for the header section.

Declaration

Source position: comctrls.pp line 3964

published property THeaderSection.MaxWidth : Integer
  read FMaxWidth
  write SetMaxWidth
  default 10000;

Description

MaxWidth is an Integer property with the maximum size in pixels for the content displayed for the section on the header control. It includes the image, text, and any padding used between the elements for the section.

The default value for the property is an arbitrarily large value (10000). Changing the property causes the new value to be validated; it cannot exceed 10000 and cannot be smaller than the value in the MinWidth property. The value in the Width property is range-limited to the new values in MinWidth and MaxWidth. The collection is updated when MaxWidth has been changed in the collection item.

See also

THeaderSection.MinWidth

  

Minimum width in pixels allowed for the header section.

THeaderSection.Width

  

Total width in pixels for the text and image on the header section.

TCollectionItem


Version 3.2 Generated 2024-02-25 Home