API:Vcl.XPActnCtrls.TXPStyleAddRemoveItem.CalcBounds
Delphi
procedure CalcBounds; override;
C++
virtual void __fastcall CalcBounds();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.XPActnCtrls.pas Vcl.XPActnCtrls.hpp |
Vcl.XPActnCtrls | TXPStyleAddRemoveItem |
Description
Calculates the size of the add/remove menu item.
Vcl.XPActnCtrls.TXPStyleAddRemoveItem.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).