Vcl.ComCtrls.TTabControl.DisplayRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisplayRect: TRect read GetDisplayRect;

C++

__property DisplayRect;

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTabControl

Description

Specifies the bounding rectangle of a tab control client area.

Vcl.ComCtrls.TTabControl.DisplayRect inherits from Vcl.ComCtrls.TCustomTabControl.DisplayRect. All content below this line refers to Vcl.ComCtrls.TCustomTabControl.DisplayRect.

Specifies the bounding rectangle of a tab control client area.

Use DisplayRect to obtain the coordinates, in pixels, of the portion of the tab control that represents the contents of the tab pages. The appearance of this portion of the tab control does not change when different tabs are selected.

Use DisplayRect rather than the ClientRect property to determine the portion of the tab control that can contain other objects.

See Also