Code: Select all
v22.00.0032 - 2021-07-13 11:53
+ Scripting got a new function.
Name: TopIndex
Action: Sets or gets the topindex of list or tree.
Syntax: topindex(index, [pane=a])
index: Index of the first row to be shown in the view port.
The top row is 1.
t: Scroll up to the top (alternative to "1").
b: Scroll down to the bottom.
Missing: Do not change it.
pane: a [Default]: active list pane
i: inactive list pane
1: 1st pane
2: 2nd pane
t: tree
return: The current/previous topindex.
Remarks:
The command does not change any selections or the focus.
Examples:
echo topindex(); //return the current topindex of the active list
echo topindex(, i); //return the current topindex of the inactive list
topindex(1); //scroll the active list to the top
topindex(t); //scroll the active list to the top
echo topindex(1); //scroll the active list to the top, return the previous index
topindex(1, i); //scroll the inactive list to the top
topindex(b); //scroll the active list to the bottom
topindex(b, i); //scroll the inactive list to the bottom
topindex(1, t); //scroll the tree to the top
topindex(t, t); //scroll the tree to the top
topindex(b, t); //scroll the tree to the bottom
topindex(100); //scroll the active list to row 100
topindex(topindex() + 10); //scroll the active list 10 rows down
topindex(topindex() - 10); //scroll the active list 10 rows up
* Tabsets | Open...: The window height now adjusts to the number of tabsets
displayed (as far as the screen height allows).
! SC tab("relocate"): Did not apply any Folder View Settings when a
background tab was relocated. Fixed.
! Tabs: When moving tabs on the tab bar to the right, the dragged tab moves
one tab further to the right than what is indicated (since 20210626). Fixed.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.