John117 Posted December 12, 2007 Share Posted December 12, 2007 (edited) GUICtrlSetColor(-1, 0x625E55) changes the input box color, can something be done about the font color? Edited December 12, 2007 by Hatcheda Link to comment Share on other sites More sharing options...
Nahuel Posted December 12, 2007 Share Posted December 12, 2007 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 More sharing options...
John117 Posted December 12, 2007 Author Share Posted December 12, 2007 (edited) 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 December 12, 2007 by Hatcheda Link to comment Share on other sites More sharing options...
Nahuel Posted December 12, 2007 Share Posted December 12, 2007 GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT ) Link to comment Share on other sites More sharing options...
John117 Posted December 12, 2007 Author Share Posted December 12, 2007 -That just made a world of difference! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now