Vcl.ComCtrls.TTabSheet.PageControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PageControl: TPageControl read FPageControl write SetPageControl;

C++

__property TPageControl* PageControl = {read=FPageControl, write=SetPageControl};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTabSheet

Description

Indicates the page control object that contains the tab sheet.

Read PageControl to gain access to the page control object that uses the tab sheet. The properties and methods of the PageControl object can be used to locate the selected page, iterate through the other pages in the page control, or change the display properties of the tabs.

Set PageControl to remove the tab sheet from its current page control (if any) and insert it into a new page control.

Code Examples