Vcl.RibbonActnCtrls.TRibbonLargeButtonControl.CalcBounds

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also