Vcl.RibbonActnCtrls.TRibbonComboBoxItem.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 TRibbonComboBoxItem

Description

Calculates the size of the control.

The Height of a TRibbonComboBoxItem is 17 pixels. CalcBounds sets the boundaries of the control to this value, also considering the text bounds.