Last item selected border

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
w64bit
Posts: 35
Joined: 15 Jan 2010 17:34

Last item selected border

Post by w64bit »

Click on a file in the list to select it. It is highlighted.
If you click on the list white background, the file is "unselected" (status bar confirm this) but a frame around the filename remain.
Is there any way to make the program to stop displaying it?

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

Re: Last item selected border

Post by highend »

Configuration | Colors and Styles | Highlights & Dark Mode | Focus rectangle -> None
One of my scripts helped you out? Please donate via Paypal

w64bit
Posts: 35
Joined: 15 Jan 2010 17:34

Re: Last item selected border

Post by w64bit »

Yesssss. Thank you.

w64bit
Posts: 35
Joined: 15 Jan 2010 17:34

Re: Last item selected border

Post by w64bit »

XY behavior:
1. select a file
2. click on empty space
3. press F2 > the previous selected file has it's name in editing mode.

How can I clear focus when click on empty space (like it is in File Explorer) so when I press F2 to do nothing?

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

Re: Last item selected border

Post by highend »

You can't clear the focus. If you don't like the current behavior:

Create a user defined command from the category "Run Script"
with this:

Code: Select all

if (<get SelectedItemsNames>) { #172; }
and bind F2 to it...
One of my scripts helped you out? Please donate via Paypal

w64bit
Posts: 35
Joined: 15 Jan 2010 17:34

Re: Last item selected border

Post by w64bit »

I noticed that if I don't have anything selected in list, I cannot rename the folder in tree.
Steps to replicate:
- click on a file in list
- click on white background in list
- click on the folder in tree
- F2 > doesn't do anything
or
- click on a folder in tree (other than current folder)
- F2 > doesn't do anything

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

Re: Last item selected border

Post by highend »

Can't replicate
One of my scripts helped you out? Please donate via Paypal

w64bit
Posts: 35
Joined: 15 Jan 2010 17:34

Re: Last item selected border

Post by w64bit »

I am using the script above and F2 remapping.

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

Re: Last item selected border

Post by highend »

<get SelectedItemsNames> is for items in the list pane, not for selected tree folders
Add another check if the focus is on the tree...
One of my scripts helped you out? Please donate via Paypal

Post Reply