Vcl.RibbonActnCtrls.TRibbonLargeButtonControl.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 | TRibbonLargeButtonControl |
Description
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.