Sort delphi editor tabs alphabetically by filename
- once, or always automatically -
I think there is no solution for that yet? It's such an annoyance that based on the open order of many files it's a pain to find the given source file. I know the top-right dropdown list which is alphabetical, but otherwise I have to manually drag file tabs if I want to keep some ordering.
I doubt that this is possible for newer Delphi versions because the control is not a regular TTabControl or TPageControl. It might be possible for Delhi 7 and 6, but I won't bother fort these alone.
But I'll investigate.
Hm, it might be possible: It's TabControl of type TIDEGradientTabSet which has got an Items property of type TStrings. Maybe it is enough to just sort this property. But no promises.
There might be an additional complication with multiple editor windows, each of which has another of these controls.
Last edit: Thomas Mueller 2026-01-16