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

TCoolBand.MinHeight

Minimum height for the band.

Declaration

Source position: comctrls.pp line 2519

published property TCoolBand.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

TCoolBand.MinWidth

  

Minimum width for the band.

TCoolBand.CalcPreferredHeight

  

Calculates the band height using the orientation and settings in the parent control.


Version 4.0 Generated 2025-05-03 Home