[SOLVED] Focus pane when clicking on tree

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Leito
Posts: 561
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

[SOLVED] Focus pane when clicking on tree

Post by Leito »

After opening a folder by clicking on the tree, is there any way to put the focus automatically on the pane where the folder has been opened?
Last edited by Leito on 02 Nov 2017 15:31, edited 1 time in total.

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

Re: Focus pane when clicking on tree

Post by highend »

Afaik, no

A tweak like:

Code: Select all

; Tweak: auto-focus the list after left-clicking on a tree item
SetFocusToListAfterTree=1
would be nice...
One of my scripts helped you out? Please donate via Paypal

MemphiZ
Posts: 9
Joined: 15 May 2017 18:00

Re: Focus pane when clicking on tree

Post by MemphiZ »

I would support this as well. Usually I click on the tree and start typing for a file name. As it is now, those keystrokes will cause the tree to start searching instead of the pane.

Leito
Posts: 561
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Focus pane when clicking on tree

Post by Leito »

MemphiZ wrote:I would support this as well. Usually I click on the tree and start typing for a file name. As it is now, those keystrokes will cause the tree to start searching instead of the pane.
My problem exactly.

A tweak would be great then.

Leito
Posts: 561
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Focus pane when clicking on tree

Post by Leito »

Hi Don,

Would you be willing to implement that?

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Focus pane when clicking on tree

Post by admin »

OK, will do. FYI, comes almost exactly 10 years after the tweak SetFocusToListAfterCatalog. So I guess it's okay to add another SetFocusToList... tweak now. :)

Leito
Posts: 561
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Focus pane when clicking on tree

Post by Leito »

Thank you ! :biggrin:

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

Re: Focus pane when clicking on tree

Post by highend »

:tup: from me, too! A great relieve that you can type to filter immediately afterwards...
One of my scripts helped you out? Please donate via Paypal

kinook
Posts: 93
Joined: 22 Jul 2008 18:48
Contact:

Re: Focus pane when clicking on tree

Post by kinook »

How about a tweak for address bar too?

viewtopic.php?t=15401

Leito
Posts: 561
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Focus pane when clicking on tree

Post by Leito »

For those whose come up on this post, the tweak to use is "SetFocusTo".

Code: Select all

v18.00.0004 - 2017-06-13 12:32
    + Tweak: Unified the various "Set Focus To..." tweaks in one bit field key:
        SetFocusTo=(bit field)
                    1 = Tree > List
                    2 = Catalog > List
                    4 = Address Bar > List (this one is NEW)
      For example, to enable all the focus shifts you simply add 1+2+4=7:
        SetFocusTo=7
    - These old tweaks have been removed (replaced by SetFocusTo):
        SetFocusToListAfterTree
        SetFocusToListAfterCatalog
I didn't see that you implemented it Don, thanks a lot!

Post Reply