Is it possible to somehow disable the "Wrapped Around" feature in Delphi 2010 search?
I understand that many developers have problems with the new search function, but it works well for me, except when the search ends and returns to the first result again.
I also know that you can check the search box, but this will not work for me. I miss that part of the search functionality that would allow you to search by cursor or area and let you know when there will be no more results.
An example of where it infuriates me. I have a tree view where many nodes are available at index levels (i.e. Item.Level = 1), and I need to add a new node at level 0, and so all indexes should go to level +1. I wasted a lot of time, now reassigning these indexes a second and even third time, because the search function wraps around (I can't use a replacement for what I'm doing).
.Level = 0watching the scroll bar code every time I do something .Level = 0and .Level = 0become .Level = 1, .Level = 2etc.
source
share