Extended Notebook lazarus / 31-LCL ---------------------------------------------------------------------- Kaller · 2016-12-16 09:30 When I use the drag function to reorder the tabs in an extended notebook, they appear to keep their original tabindex order.  How can I reindex the tabs? ---------------------------------------------------------------------- howardpc · 2016-12-16 12:58 Are you asking about TNotebook, TPageControl or something else? ---------------------------------------------------------------------- Kaller · 2016-12-31 22:24 TExtendedNotebook in particular. https://fossies.org/linux/lazarus/components/lazcontrols/extendednoteb ook.pas ---------------------------------------------------------------------- howardpc · 2017-01-01 00:57 Can you show a project or code where the indexing is not what you expect? Here (on Linux, gtk2) TTabSheet.TabIndex is correctly updated when tabs are dragged and dropped. For example, add an OnTabEndDrag event to an TExtendedNotebook to which you've added three pages. For me the following event handler shows the TabIndex of each TabSheet is correctly updated whenever the tabs are dragged and dropped to new positions. 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 uses LazLogger; procedure TForm1.ExtendedNotebook1TabEndDrag(Sender, Target: TObject; X, Y: Integer);begin  DebugLn(['TabSheet1.TabIndex=',TabSheet1.TabIndex]);  DebugLn(['TabSheet2.TabIndex=',TabSheet2.TabIndex]);  DebugLn(['TabSheet3.TabIndex=',TabSheet3.TabIndex]);  DebugLn('------------------------------');end;