I use tabs in a couple of mods. Some of these are near duplicates of the &dsCommoditiesExchangeBuy; tabs, rpgCreateBuyItemTabs, but others are completely different.

Unfortunately Ctrl-clicking on a tab in one screen can reset the default tab in all screens that use tabs regardless of the code used to create the tabs..

Ideally resetting the tabs in a rpgCreateBuyItemTabs screen would be confined to that screen. Or only reset tabs in screens that use that code. Instead of potentially altering all tabs.

============

It would be handy to be able to set a desired tab to show in a screen with code. The tabs can jump around a bit on their own (no pattern observed but it is usually on or near first screen entry). If the normal sequence of a mod screen it to first show one tab then progress to another it is desirable to have the first tab show on screen entry.

============

Possibly there could also be a way using code to detect which tab is currently showing in a screen.