Jump to content
Sign in to follow this  
Wb-FreeKill

GUICtrlCreateTabItem color?

Recommended Posts

Wb-FreeKill

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

Share this post


Link to post
Share on other sites
jpm

at stated in the doc the coloring of tab is not implemented (too costly)

:)

Share this post


Link to post
Share on other sites
this-is-me

An example of what? He just told you FORGET ABOUT IT. IT WON'T HAPPEN.


Who else would I be?

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.