In Linux the TPageControl has a pop-up menu when you right click on the tab bar, this is not the PopupMenu property. In Windows this does not work. So initially I created a TPopupMenu for the PopupMenu property, this works fine in both Linux and Windows, BUT, the pop-up menu will pop-up anywhere on the TPageControl, which kinda makes sense, but I would really like it just to pop-up when the tab bar is right clicked.
I Could overlay a TTabControl, but that seems overkill for just a pop-up menu, and more coding.
Any other suggestions would be welcome