Skip to main content

TcxTab.VisibleRect Property

Returns the rectangle occupied by the tab portion visible to a user.

Declaration

property VisibleRect: TRect read;

Property Value

Type
TRect

Remarks

If tabs are arranged into a single row and they don’t fit into the control’s area, certain tabs may be invisible to a user. In such an instance, one of tabs can be partially visible. Use the VisibleRect property to determine the rectangle occupied by the visible portion of the tab. If the entire tab is visible to a user, the VisibleRect property returns the same value as the FullRect property. If the entire tab is invisible, the VisibleRect returns an empty rectangle (all its coordinates are zeros).

Coordinates returned by the VisibleRect property are expressed in the coordinate system of the owner tab control.

See Also