RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTabControl.DisplayRect Property

Specifies the bounding rectangle of a tab control client area.

Pascal
property DisplayRect: TRect;
C++
__property TRect DisplayRect;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!