[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TTabSheet.Width

Width of the visible area for the tab sheet on the parent page control.

## Declaration

Source position: comctrls.pp line 553

`published property TTabSheet.Width : Integer stored False;`

## Description

Width is a published Integer property in TTabSheet, and contains the width in pixels for the visible area on the tab sheet. It reflects the width for the parent page control minus the space needed to display its borders.

The value in Width is not stored in the LCL component streaming mechanism, and changing the value in Width has no effect. The origin (Left, Top) and dimensions (Width, Height) for the tab sheet are determined when the parent control (TPageControl) is resized. Width always contains the number of horizontal pixels in the visible area on the parent control.

Place a TScrollBox control (aligned to alClient) on the tab sheet to provide a container for scrollable content.

## See also

#lcl.comctrls.TCustomPage.Width |  | Not stored in LCL component streaming for TCustomPage.