Vcl.ActnMan.TCustomActionControl.CalcBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CalcBounds; virtual;

C++

virtual void __fastcall CalcBounds(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionControl

Description

Calculates the size of the control.

The size of the control depends on many factors, such as the presence of an icon, caption, and shortcuts. CalcBounds computes the boundaries of the control considering these kinds of factors. At the end, it calls SetBounds and other routines to ensure that the values are set properly.

See Also