RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageControl Class

TPageControl is a set of pages used to make a multiple page dialog box.

Pascal
TPageControl = class(TCustomTabControl);
C++
class TPageControl : public TCustomTabControl;

ComCtrls

Use TPageControl to create a multiple page dialog or tabbed notebook. TPageControl displays multiple overlapping pages that are TTabSheet objects. The user selects a page by clicking the page's tab that appears at the top of the control. To add a new page to a TPageControl object at design time, right-click the TPageControl object and choose New Page.  

To create a tabbed control that uses only a single body portion (page), use TTabControl instead.

Note: When using one of the page controls, if you want to restrict a user from switching to a tab, you cannot set TTabSheet.Enabled to false to accomplish that restriction. Instead, use the OnChanging event to prevent the user from selecting a tab.
 

 

TTabControl 

TTabSheet 

Grouping Controls 

Page Controls 

Tab Controls

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!