Josbe Posted June 3, 2004 Share 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 Link to comment Share on other sites More sharing options...
jpm Posted June 4, 2004 Share 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 Link to comment Share on other sites More sharing options...
Valik Posted June 4, 2004 Share 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. Link to comment Share on other sites More sharing options...
pekster Posted June 4, 2004 Share 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. Link to comment Share on other sites More sharing options...
Josbe Posted June 4, 2004 Author Share 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 Link to comment Share on other sites More sharing options...
pekster Posted June 5, 2004 Share 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. Link to comment Share on other sites More sharing options...
DaLiMan Posted June 16, 2004 Share 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) Link to comment Share on other sites More sharing options...
jpm Posted June 16, 2004 Share 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. Link to comment Share on other sites More sharing options...
DaLiMan Posted June 16, 2004 Share Posted June 16, 2004 OK, I'll give it a try as soon as my work allows. Thanx. 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