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

TCoolBand.CalcPreferredWidth

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

Declaration

Source position: comctrls.pp line 2496

protected function TCoolBand.CalcPreferredWidth: Integer;

Function result

Number of pixels needed to display the band on its parent control. Includes the space needed for horizontal spacing and dividers when assigned / used.


Version 4.0 Generated 2025-05-03 Home