TcxCustomTabControl.CloseTab(Integer) Method
Closes a specified tab.
Declaration
procedure CloseTab(AIndex: Integer);
Parameters
| Name | Type |
|---|---|
| AIndex | Integer |
Remarks
AIndex specifies the index of the tab to be closed.
You can handle the OnCanCloseEx or OnCanClose event to prohibit closing of individual tabs or only the currently selected tab, respectively.
Use the CloseTab method as an option to close tabs.
See Also