Sidebar

reference:scripting_reference:scripting_objects:tabgrouptablist

The TabGroupTabList object represents a list of folders that will open as file display tabs when the parent tab group is opened. You can obtain this object from the tabs, lefttabs and righttabs properties of the TabGroup object.

The TabGroupsTabList object is a collection of TabGroupTabEntry objects; you can enumerate it to discover each folder tab.

Property Name Return Type Description

active

object:TabGroupTabEntry

Returns a TabGroupTabEntry object representing the active (default) folder tab in this tab list.

Method Name Arguments Return Type Description

AddTab

<object:TabGroupTabEntry>
 
or

<string:path>
<string:name>

object:TabGroupTabEntry

Adds a folder tab entry to this list. You can provide a
TabGroupTabEntry object, or the path and optional name of the new folder tab.

DeleteTab

<object:TabGroupTabEntry>

or

<int:index>

none

Deletes a folder tab entry from this list. You can provide a
TabGroupTabEntry object, or the index of the tab entry to delete. If you specify the index as -1 then all tab entries will be deleted.

InsertTabAt

<object:TabGroupTabEntry>
\\ or

<string:path>
<string:name>

<int:index>

object:TabGroupTabEntry

Inserts a folder tab entry to this list. You can provide a
TabGroupTabEntry object, or the path and optional name of the new folder tab. The final parameter must be the index indicating the desired insertion position.

MoveTabTo

<object:TabGroupTabEntry>
<object:
TabGroupTabList>
<int:index>

none

Moves the specified tab entry to a new position, and optionally a new tab list. If the second parameter is a TabGroupTabList object then the tab entry will be moved to that list. The final parameter must be the index indicating the desired insertion position.