Jump to content

change font color for label? (solved)


John117
 Share

Recommended Posts

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
Link to comment
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
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...