Is it possible to color the background of a tab within a tab control, no style has been pre-loaded to color the background in koda Gui designer, need some help please!
ac1dm4nner,
This is based on some original code by Valik, so most of the credit should go to him:
#include <GuiConstantsEx.au3>
#include <GuiTab.au3>
#include <StaticConstants.au3>
; Tab colours
Global $aTabColours[4] = [0xFFC0C0, 0xC0FFC0, 0xC0C0FF, 0xC0C0C0]
; Create GUI
Global $hGUI = GUICreate ("Test", 400,300)
GUISetBkColor (0xFFFF00)
; Create label to cover Tab "tab"
Global $hColourTab = GUICtrlCreateLabel("", 0, 0, 1, 1, BitOR($SS_NOTIFY, $SS_CENTER, $SS_SUNKEN)