Page 1 of 1

Is SelectElement() "smart"?

Posted: Fri Feb 23, 2018 7:04 pm
by Erich
When I'm in the middle of a large list, is SelectElement() smart in the sense that it will go relative from the current element's Listindex back and forth through the list to reach the desired element? Or does it always go through the list from the start?

Re: Is SelectElement() "smart"?

Posted: Fri Feb 23, 2018 8:05 pm
by freak
Yes. It always goes the shortest route from start, end or the current position.

Note that after using ChangeCurrentElement() the list "forgets" its current index and so has to go from start or end on the next SelectElement().