Vcl.ActnCtrls.TCustomToolScrollBtn.CalcBounds
Delphi
procedure CalcBounds; override;
C++
virtual void __fastcall CalcBounds();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ActnCtrls.pas Vcl.ActnCtrls.hpp |
Vcl.ActnCtrls | TCustomToolScrollBtn |
Description
Calculates the size of the custom tool scroll button.
The CalcBounds method is used to calculate the size of the custom tool scroll button. CalcBounds only affects the Width
of the TCustomToolScrollBtn, based on the current alignment:
- If the action bar's
Align
property is set toalTop
oralBottom
, then theHeight
of the TCustomToolScrollBtn is set to 13. - Otherwise the
Height
of the TCustomToolScrollBtn is set to 11.