Jump to content

GUICtrlCreateTabItem color?


Wb-FreeKill
 Share

Recommended Posts

How can i make a specific color in the Tab?

#include <GUIConstants.au3>

GUICreate("PC-ID", 405,478) 

GUISetFont(9, 300)

$tab=GUICtrlCreateTab (5,5, 397,450)


$tab0=GUICtrlCreateTabitem ("This computer")
GUICtrlCreateLabel ("Computernavn",  30, 30, 100, 20)  
$tab1=GUICtrlCreateTabitem ( "Specifications")

GUICtrlSetState(-1,$GUI_SHOW)   


GUICtrlCreateLabel ("Version 1",  330, 455, 60, 15)



GuiSetState ()

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

At this time, the background is white, i want another color for the background of the Tab.

Edited by Wb-FreeKill
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...