Color wxNotebook Tab's

BlitzMax Forums/Brucey's Modules/Color wxNotebook Tab's

MOBii(Posted 2015) [#1]
Just wounder if I can set background color on the actually tabs in wxNotebook?
TAB[q].SetBackgroundColour(_p.wxColor()) this only set the background on the area under the tab's
if no tab's the background area get white
is it possible to change, the tabs background color and or the empty window white area?


Henri(Posted 2015) [#2]
I believe that empty tabs area gets it's colour from main window background colour, so if possible you could change that to macth the color that you want ?

-Henri


MOBii(Posted 2015) [#3]
I make a test and set window background colour to yellow, Nothing happen
Then I set the background panel colour to yellow and the small area that was still visible become yellow

when I remove the tabs and the tab background was still white!
Still it's not a big deal because the tab is not flickering, but it would be more cool if I could color the tabs ^^ thou


Henri(Posted 2015) [#4]
Tabs you can colour as seen in the flatnotebook.bmx example, by enabling different style. Not sure about non-tab header area colouring except when I tried it in wxFormBuilder changing wxnotebook background colour seemed to effect it.

-Henri


MOBii(Posted 2015) [#5]
Thanks I somehow miss flatnotebook.bmx
wxFlatNotebook was more advance than wxNotebook

Edited:
I can move the tab with the mouse out of the box
My wxNotebook code was compatible with wxFlatNotebook (impressive)
The tab look better and I can already set new color, thank the again I am actually little happy now