Jump to content

Label Color


Josbe
 Share

Recommended Posts

Is there any way to know a Label's color(previously defined)?

I don't know (sure), if maybe some parameter in GUIRcvMsg()?  :D

Thxs.

EDIT: Background color, of course.

no idea, with the feeling is not possible wait Gui expert Valik and now JON :huh2:
Link to comment
Share on other sites

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

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

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

  • 2 weeks later...

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)  :D

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. :huh2:

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...