Jump to content

draw a colored rectangle on a tab

Recommended Posts

colored rectangleHello,
a basic trick that does not work and I do not understand why.
I want to put a 
colored rectangle on a tab
in my tab I tried without success (nothing appears at all)


$GUICtrlCreateTabItem = GUICtrlCreateTabItem("Paramètres")
$cadre1 = GUICtrlCreateGraphic($left+4, $top+4, 1162, 450,0) ; $SS_GRAYRECT, $SS_GRAYFRAME
GUICtrlSetColor($cadre1, 0xE69CFF )
GUICtrlSetBkColor($cadre1, 0xE69CFF);660066

I also tried without it, 0 as I saw in some examples, without more success
also play on the $ COLOR_RED color with the corresponding constants

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

  • Create New...