[Overview][Types][Classes][Procedures and functions][Index] |
Calculates the vertical space needed for a band the control bar.
Source position: extctrls.pp line 1614
protected function TCustomControlBar.CalcBandHeight( |
AControl: TControl |
):Integer; |
AControl |
|
The band Control examined in the method. |
Number of pixels need for the height of the control bar.
CalcBandHeight is an Integer function used to calculate the vertical size for a TCtrlBand instance on the control bar.
The return value is normally assigned to the TCtrlBand.Height property when the band is created and aligned. When RowSnap is enabled for the control bar, the CalcBandHeightSnapped method is called to get the return value. Otherwise, the return value is calculated as the Height for the specified Control less the space needed for its vertical borders.
CalcBandHeight is called from the InitializeBand method and when the control is loaded using the LCL streaming mechanism.
|
Calculates the vertical space needed for a band on the control bar when RowSnap is enabled. |
|
|
Configures a control bar band and calculates its row position, order, and geometry including client decorations. |
|
|
Performs actions needed when component loading has been completed. |
|
|
Stored Height for the band used in comparisons during resizing. |
|
|
The vertical size for the control. |
Version 4.0 | Generated 2025-05-03 | Home |