Timestamping using <focitem>

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Greylock
Posts: 15
Joined: 28 Jan 2014 13:10

Timestamping using <focitem>

Post by Greylock »

Hi,

I'm interested in using the new timestamp functionality but I'm struggling to get my head around the <focitem> code mentioned in the examples on the release notes page.

For instance, in the the first example given:

Code: Select all

timestamp , <focitem>;
"Sets all 3 dates of all selected List items to match those of the focused item."

Could someone explain how one would tell which among the selected items is the focused item?

Many Thanks.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Timestamping using <focitem>

Post by TheQwerty »

It can be a bit tricky to spot by default.

If the focused item is also selected then it is the item whose information is being displayed in the status bar and information panel.
If it is not selected then it will have a border around its name.
You can make it stand out better by enabling Tools > Customize List > Highlight Focused Item, which will paint the focused item's entire row red by default. This color can be changed under Tools > Configuration > Colors and Styles > Colors > List > Focused Item.

In all of the these screenshots Red.txt is the focused item:
screenshot.48.png
screenshot.48.png (65.29 KiB) Viewed 1148 times
screenshot.49.png
screenshot.49.png (57.06 KiB) Viewed 1148 times
screenshot.50.png
screenshot.50.png (59.93 KiB) Viewed 1148 times

Greylock
Posts: 15
Joined: 28 Jan 2014 13:10

Re: Timestamping using <focitem>

Post by Greylock »

Excellent! Thank you for the perfect explanation.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Timestamping using <focitem>

Post by armsys »

TheQwerty wrote: If it is not selected then it will have a border around its name.
How could this scenario occur?
Is the focused item always selected?

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

Re: Timestamping using <focitem>

Post by admin »

1. Mouse drag selection.
2. Ctrl+Up/Down.

Both is Windows standard ever since.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Timestamping using <focitem>

Post by armsys »

admin wrote:1. Mouse drag selection.
2. Ctrl+Up/Down.
I didn't know that the focused item can be unselected.
Thanks.

Post Reply