Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCoolBand.CalcPreferredWidth

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

Declaration

Source position: comctrls.pp line 2498

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.4 Generated 2025-11-08 Home