Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTabSheet.PageControl Property

Specifies the owning page control.

#Declaration

Delphi
property PageControl: TcxPageControl read; write;

#Property Value

Type
TcxPageControl

#Remarks

Use the PageControl property to specify the page control, which owns the page. This can be used to move the page from one page control to another or to add a newly created page to a page control.

The following sample code creates a new page and adds it to a page control.

Delphi
var NewPage: TcxTabSheet;
// ...
NewPage := TcxTabSheet.Create(Form1);
with NewPage do
begin
  Caption := 'New Page';
  PageControl := cxPageControl1;
end;
See Also