Vcl.ThemedActnCtrls.TThemedAddRemoveItem.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.ThemedActnCtrls.pas
Vcl.ThemedActnCtrls.hpp
Vcl.ThemedActnCtrls TThemedAddRemoveItem

Description

Calculates the size of the add/remove menu item.

Vcl.ThemedActnCtrls.TThemedAddRemoveItem.CalcBounds inherits from Vcl.ActnMenus.TCustomAddRemoveItem.CalcBounds. All content below this line refers to Vcl.ActnMenus.TCustomAddRemoveItem.CalcBounds.

Calculates the size of the add/remove menu item.

CalcBounds updates the Height, Width, and TextBounds properties to reflect current conditions (such as the item's caption and the current font).

See Also