Sign in to follow this  
Followers 0
Wb-FreeKill

GUICtrlCreateTabItem color?

4 posts in this topic

#1 ·  Posted (edited)

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



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

:)

Share this post


Link to post
Share on other sites

Could you write an eksample?

Share this post


Link to post
Share on other sites

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  
Followers 0