Vcl.RibbonActnCtrls.TRibbonDropDownButton.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 | TRibbonDropDownButton |
Description
Calculates the size of the control.
The width of the button needs to be at least 42 pixels and the glyph must be centered. CalcBounds sets the boundaries of the control considering these factors.