klyn.gui.windows.DockCenterArea.closeTabsToRight
method
public closeTabsToRight(index as Int) as Int:
Description

Closes every closeable tab located to the right of index.

Non-closeable tabs are always preserved.

Parameters
ParameterDescription
indexReference tab.
Returns

Number of tabs that were closed.

Example
workspace.center.closeTabsToRight(workspace.center.activeIndex)