Tab bar visibility

Features wanted...
Post Reply
Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

Tab bar visibility

Post by Quaraxkad »

I normally use XY as multi-instance with a single tab. But there are occasional cases where I want to open more folders than is feasible for multiple process instances (which may be bug that causes Out of memory errors to occur, even when there's plenty of system memory available and each XY instance is only using a small amount (although it might be running into the 32bit cap if you count *all* xyplorer.exe instances)).

Can the tab-bar be made to only show if there is more than one tab open? 99% of the time I don't want to see the tab-bar because there's only one tab. An automatic show/hide would be more convenient than manualy doing it. And otherwise it's likely to occur that mutliple tabs are open but I never know it because the bar is hidden. That can't happen currently because I have it set to a max of 1 tab per window.

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tab bar visibility

Post by highend »

Use a custom event action in the meantime?

After painting the file list would be an option...

Code: Select all

    $cntTabs   = tab("get", "c");
    $visTabBar = get("#662");
    if     ($cntTabs > 1 && !$visTabBar) { #662; }
    elseif ($cntTabs == 1 && $visTabBar) { #662; }
Ofc, it's not a 100 % solution but a 99% one...
One of my scripts helped you out? Please donate via Paypal

Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

Re: Tab bar visibility

Post by Quaraxkad »

That sounds like a great solution, I'll try it. Thanks!

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Tab bar visibility

Post by jupe »

Since it will be running constantly I would recommend that you achieve it in a more efficient way, maybe something like this,

setlayout("ShowTabs=".(tab(,c)>1));

Post Reply