mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
It is not possible to do this while retaining OS theming. The reason for this is that the background color of the tab is baked into the theme image that Upp receives from the OS, and so cannot be replaced.
Even disregarding theming it's not easy, mainly due to the way TabCtrl is constructed:
1- Create versions of the theme images (see CtrlLib/Ctrls.iml for copies of these) with a semi transparent background.
2- Duplicate TabCtrl code and alter PaintTabs so that it paints a background color on the tab before the ChPaint that draws the tab style (it's the second, complex one).
It would be nice if 2 didn't require complete code duplication, if you can fix that with a patch it would probably be accepted and then you wouldn't have to worry about code syncing to future Upp revisions.