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
Alignproperty is set toalToporalBottom, then theHeightof the TCustomToolScrollBtn is set to 13. - Otherwise the
Heightof the TCustomToolScrollBtn is set to 11.