Jump to content
Sign in to follow this  
John117

change font color for label? (solved)

Recommended Posts

GUICtrlSetColor(-1, 0x625E55) changes the input box color, can something be done about the font color?

Edited by Hatcheda

Share this post


Link to post
Share on other sites

What do you mean?

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 293, 229, 193, 125)
$Label1 = GUICtrlCreateLabel("Hi, this is a red label", 96, 96, 98, 17)
GUICtrlSetColor(-1, 0xFF0000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Share this post


Link to post
Share on other sites

ha - by accident when playing around it I deleted the BK GuiCtrlSetBkColor(-1, 0x625E55)

If I have a background picture, is there anyway to make the label box transparent but not the font?

Thanks!

Edit; another typo

Edited by Hatcheda

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  

×
×
  • Create New...