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

TCustomControlBar.CalcBandHeight

Calculates the vertical space needed for the control bar.

Declaration

Source position: extctrls.pp line 1546

protected function TCustomControlBar.CalcBandHeight(

  AControl: TControl

):Integer;

Arguments

AControl

  

Toolbar or Toolbutton control examined in the method.

Function result

Number of pixels need for the height of the control bar.