TcxTabControl Class
A tab control.
Declaration
TcxTabControl = class(
TcxCustomTabControl
)
Remarks
Tab controls are designed to arrange UI elements into multiple pages. Users can click tabs to switch between corresponding pages. The TcxTabControl displays tab-dependent content using the same page layout. If you need to display different UI elements on different pages, use the TcxPageControl component instead.

Getting Started
UI Automation/Accessibility Support
The TcxTabControl control is mapped to a node in the UI Automation tree when the global UI Automation flag (dxUIAutomationEnabled) is enabled.
UI Automation Settings
Use Properties.Automation.Name and Properties.Automation.Description properties to specify the tab control name and to add optional information that are then used to clarify UI element purpose for users who rely on third-party assistive tools (such as Microsoft Narrator).
Refer to the TdxAutomationElementSettings class description for detailed information on all available options.
Main API Members
The list below outlines key members of the TcxCustomTabControl class.
User Interaction Options
- OnCanClose | OnCanCloseEx
- Allow you to prevent users from closing tabs that meet specific criteria.
- OnChange
- Allows you to respond to tab activation.
- OnChanging
- Allows you to prevent users from activating tabs that meet specific criteria.
General-Purpose API Members
- CloseTab
- Closes the specified tab.
- IndexOfTabAt
- Returns the index of a tab located at the specified point.
- Properties
- Provides access to tab control settings.
- ScrollTabs
- Scrolls tabs by a specified number of tabs (if the total tab width exceeds the tab control width).
- SetStandardStyle
- Allows you to switch between supported tab display modes.