Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch)

The method of changing the order of the TabSheets in a PageControl in Delphi is not obvious. Apparently there is no drag and drop support (at least not in Delphi 2007). You have to change the PageIndex property. So, if you want to insert a new page, add…
http://blog.dummzeuch.de/2017/07/30/changing-the-order-of-tabsheets-in-a-pagecontrol-in-delphi/

Comments

  1. Sven Harazim No problem, I just figured it out for probably about the 100th time because it just isn't obvious.

    ReplyDelete
  2. In Delphi7 you can drag&drop TabSheets via ObjectTreeView. I think you can do the same in Delphi2007. In DelphiXE8 you can use Structure to do the same thing.

    ReplyDelete
  3. Moreno Zenaro I guess I should have known that. It isn't obvious either. I updated my blog post with your information. Thanks.

    ReplyDelete
  4. Thomas Mueller Delphi doesn't think the way we do. :-)

    ReplyDelete

Post a Comment