ComCtrls.TPageControl

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ComCtrls.pas

TPageControl = class(TCustomTabControl)


Unit: ComCtrls

Type: class

Inherited Class Members: ComCtrls.TPageControl Members

Class Properties: ComCtrls.TPageControl Properties

Class Methods: ComCtrls.TPageControl Methods

Class Constructors & Destructors: ComCtrls.TPageControl Constructors

C++ Information

From ComCtrls.hpp

TPageControl = class(TCustomTabControl)


Unit: ComCtrls

Type: class

Inherited Class Members: ComCtrls.TPageControl Members

Class Properties: ComCtrls.TPageControl Properties

Class Methods: ComCtrls.TPageControl Methods

Class Constructors & Destructors: ComCtrls.TPageControl Constructors

Description

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


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.

See Also

Code Samples


Personal tools
Translations
Newest Version