ExtendedNotebook tab to right exists ? lazarus / 31-LCL ---------------------------------------------------------------------- BubikolRamios · 2022-02-09 23:14 How to tell if there is tab to the right/left of current selected tab ? I mean, as tabs can be moved around indexes are of no use ? ---------------------------------------------------------------------- Martin_fr · 2022-02-10 00:32 TabRect and IndexOfPageAt ? But also ExtendedTabCtl.Pages (or Page) has the list in the current order. (of course, if tabs a wrapped, then higher index still is not to the right) And I believe that Page.PageIndex  is also always in the current order. ---------------------------------------------------------------------- BrunoK · 2022-02-10 12:22 Maybe take a look at unit ide\searchresultview.p. Don't know if it was  already in 2.00.02 but you can retrieve the current unit from the repository. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function TSearchResultsView.GetPagesOnActiveLine retrieves a list of pages to the left and/or the right of the active tab.