trillian Posted August 29, 2004 Posted August 29, 2004 #CS I would like to change the color of a lable but dont know what to put in Please help THANK YOU IN ADVANCE Here is an example code #CE ;===================== Opt("GUICoordMode", 1) Opt("GUINotifyMode", 1) GuiCreate("MyGUI", 392,266) $label_1 = GUISetControl("label", "i want to B red ", 20, 40, 260, 20) GUISetControlEx ( -1, 0,-1,"tip", $Color_RED ) $label_2 = GUISetControl("label", "i want to B blue", 20, 70, 260, 20) GUISetControlEx ( -1, 0,-1,"tip", $Color_BLUE ) GuiShow() While 1 sleep(100) WEnd Exit [font="Arial"] ╩Q╩ [/font]
scriptkitty Posted August 30, 2004 Posted August 30, 2004 #CE ;===================== Opt("GUICoordMode", 1) Opt("GUINotifyMode", 1) GuiCreate("MyGUI", 392,266) ;GuiCreateEx ("",0x00ff00,"Eiffel Tower.ico") $label_1 = GUISetControl("label", "i want to B red ", 20, 40, 260, 20) GUISetControlEx ( -1, 0,-1,"tip", 0x000000, 0xff0000 ) $label_2 = GUISetControl("label", "i want to B blue", 20, 70, 260, 20) GUISetControlEx ( -1, 0,-1,"Label", 0x000000, 0x0000ff ) GuiShow() While 1 sleep(1000) WEnd Exit AutoIt3, the MACGYVER Pocket Knife for computers.
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