Sign in Join
FPDoc Onlineexperiment

THeaderSection.MaxWidth property

Member of THeaderSectionpublishedIn unit ComCtrls

Maximum width in pixels allowed for the header section.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.