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 2499

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.6 Generated 2026-02-20 Home