API:Vcl.RibbonActnCtrls.TRibbonLargeSplitButton.CalcBounds
Delphi
procedure CalcBounds; override;
C++
virtual void __fastcall CalcBounds();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonLargeSplitButton |
Description
Calculates the size of the control.
Vcl.RibbonActnCtrls.TRibbonLargeSplitButton.CalcBounds inherits from Vcl.RibbonActnCtrls.TRibbonLargeButtonControl.CalcBounds. All content below this line refers to Vcl.RibbonActnCtrls.TRibbonLargeButtonControl.CalcBounds.
Calculates the size of the control.
The width of a TRibbonApplicationMenuButton must be at least 42 pixels and the glyph must be centered. CalcBounds sets the boundaries of the control considering these factors.