Sign in Join
FPDoc Onlineexperiment

TCoolBand.MinHeight property

Member of TCoolBandpublishedIn unit ComCtrls

Minimum height for the band.

Declaration

pascal
property MinHeight: Integer read FMinHeight write SetMinHeight default cDefMinHeight;

Description

MinHeight is an Integer property which contains the minimum number of pixels used as the height of the band when it is drawn on its parent TCoolBar control. The default value for the property is defined in the cDefMinHeight constant in the class instance.

Changing the value for the property causes the Changed method to be called to update the item in the bands collection for the parent control (TCoolBar).

MinHeight is used in the CalcPreferredHeight method where the preferred height with vertical spacing is calculated for the band.

See also

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