Josbe 1 Posted June 3, 2004 (edited) Is there any way to know a Label's color(previously defined)?I don't know (sure), if maybe some parameter in GUIRcvMsg()? Thxs.EDIT: Background color, of course. Edited June 3, 2004 by josbe AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites
jpm 90 Posted June 4, 2004 Is there any way to know a Label's color(previously defined)?I don't know (sure), if maybe some parameter in GUIRcvMsg()? Thxs.EDIT: Background color, of course.no idea, with the feeling is not possible wait Gui expert Valik and now JON Share this post Link to post Share on other sites
Valik 478 Posted June 4, 2004 Most (All?) of the color related stuff in Windows is done through functions, not messages. There would need to be a new function added for AutoIt to be able to get that information. Share this post Link to post Share on other sites
pekster 0 Posted June 4, 2004 Why not simply create a new variable for each control that you are changing the color for? $Control1Color = $newcolor or something. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Share this post Link to post Share on other sites
Josbe 1 Posted June 4, 2004 Why not simply create a new variable for each control that you are changing the color for? $Control1Color = $newcolor or something. It's dynamic. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites
pekster 0 Posted June 5, 2004 It's dynamic.So? At some point (or points) you have a command to change or set the color. At this point in your code, just add 1 more line to change the color for the associated string. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Share this post Link to post Share on other sites
DaLiMan 0 Posted June 16, 2004 So if I understand correctly I can stop searching for some code to make a button appear red in my GUI box? (button for STOP) Share this post Link to post Share on other sites
jpm 90 Posted June 16, 2004 So if I understand correctly I can stop searching for some code to make a button appear red in my GUI box? (button for STOP) If you get a .pic in red just add A GuiSetControlNotify and you can manage todo what you want when you click on it.I am not sure you can have a Button rendering as in "button" control. Share this post Link to post Share on other sites
DaLiMan 0 Posted June 16, 2004 OK, I'll give it a try as soon as my work allows. Thanx. Share this post Link to post Share on other sites