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

# TPageControl.DoAddDockClient

DoAddDockClient creates a new TabSheet in the PageControl, places the client on it and aligns it

## Declaration

Source position: comctrls.pp line 285

`protected procedure TPageControl.DoAddDockClient(`
`Client: TControl;`
`const ARect: TRect`
`); override;`

## Description

Client cannot be added to TPageControl itself but new TabSheet should be added and client placed onto it

## See also

TWinControl.DoAddDockClient |  | Adjust the Parent of the docked Client.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .